clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I3edadffec0ea11e0a52d9b060167e9a9a38f1972
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/power-supply/record_manager.hpp b/power-supply/record_manager.hpp
index 98382c7..36a786f 100644
--- a/power-supply/record_manager.hpp
+++ b/power-supply/record_manager.hpp
@@ -28,8 +28,7 @@
class InvalidRecordException : public std::runtime_error
{
public:
- InvalidRecordException() : std::runtime_error("Invalid history record")
- {}
+ InvalidRecordException() : std::runtime_error("Invalid history record") {}
};
/**
@@ -70,8 +69,7 @@
* @param[in] maxRec - the maximum number of history
* records to keep at a time
*/
- RecordManager(size_t maxRec) : RecordManager(maxRec, LAST_SEQUENCE_ID)
- {}
+ RecordManager(size_t maxRec) : RecordManager(maxRec, LAST_SEQUENCE_ID) {}
/**
* @brief Constructor