diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-06-04 18:11:30 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-06-11 23:46:30 +0300 |
commit | 1214b7e7d921e331fb1480c7e5d579ffa5811cda (patch) | |
tree | c0e38d55a89ab9df8ce112b190926b00c0a71da1 /include/image_upload.hpp | |
parent | 29d2a95ba12f8b5abed040df7fd59790d6ba2517 (diff) | |
download | bmcweb-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.hpp | 6 |
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"}) |