summaryrefslogtreecommitdiff
path: root/include/image_upload.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-06-04 18:11:30 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-06-11 23:46:30 +0300
commit1214b7e7d921e331fb1480c7e5d579ffa5811cda (patch)
treec0e38d55a89ab9df8ce112b190926b00c0a71da1 /include/image_upload.hpp
parent29d2a95ba12f8b5abed040df7fd59790d6ba2517 (diff)
downloadbmcweb-1214b7e7d921e331fb1480c7e5d579ffa5811cda.tar.xz
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>
Diffstat (limited to 'include/image_upload.hpp')
-rw-r--r--include/image_upload.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/image_upload.hpp b/include/image_upload.hpp
index 69e5637361..64adccd023 100644
--- a/include/image_upload.hpp
+++ b/include/image_upload.hpp
@@ -5,8 +5,9 @@
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
-#include <cstdio>
#include <dbus_singleton.hpp>
+
+#include <cstdio>
#include <fstream>
#include <memory>
@@ -108,7 +109,8 @@ inline void uploadImageHandler(const crow::Request& req, crow::Response& res,
timeout.async_wait(timeoutHandler);
}
-template <typename... Middlewares> void requestRoutes(Crow<Middlewares...>& app)
+template <typename... Middlewares>
+void requestRoutes(Crow<Middlewares...>& app)
{
BMCWEB_ROUTE(app, "/upload/image/<str>")
.requires({"ConfigureComponents", "ConfigureManager"})