clang-format: update to latest from docs repo
This is from openbmc/docs/style/cpp/.clang-format
Other OpenBMC repos are doing the same.
Tested: Built and validator passed.
Change-Id: Ief26c755c9ce012823e16a506342b0547a53517a
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/include/persistent_data_middleware.hpp b/include/persistent_data_middleware.hpp
index 348079b..de3a6ba 100644
--- a/include/persistent_data_middleware.hpp
+++ b/include/persistent_data_middleware.hpp
@@ -8,13 +8,14 @@
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
-#include <filesystem>
#include <nlohmann/json.hpp>
#include <pam_authenticate.hpp>
-#include <random>
#include <sessions.hpp>
#include <webassets.hpp>
+#include <filesystem>
+#include <random>
+
namespace crow
{
@@ -32,8 +33,7 @@
static constexpr const char* filename = "bmcweb_persistent_data.json";
struct Context
- {
- };
+ {};
Middleware()
{
@@ -49,12 +49,10 @@
}
void beforeHandle(crow::Request& req, Response& res, Context& ctx)
- {
- }
+ {}
void afterHandle(Request& req, Response& res, Context& ctx)
- {
- }
+ {}
// TODO(ed) this should really use protobuf, or some other serialization
// library, but adding another dependency is somewhat outside the scope of