summaryrefslogtreecommitdiff
path: root/include/webassets.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/webassets.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/webassets.hpp')
-rw-r--r--include/webassets.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/webassets.hpp b/include/webassets.hpp
index 847696a325..fc58d3730f 100644
--- a/include/webassets.hpp
+++ b/include/webassets.hpp
@@ -7,6 +7,7 @@
#include <boost/algorithm/string/replace.hpp>
#include <boost/container/flat_set.hpp>
+
#include <filesystem>
#include <fstream>
#include <string>
@@ -28,7 +29,8 @@ struct CmpStr
static boost::container::flat_set<std::string> routes;
-template <typename... Middlewares> void requestRoutes(Crow<Middlewares...>& app)
+template <typename... Middlewares>
+void requestRoutes(Crow<Middlewares...>& app)
{
const static boost::container::flat_map<const char*, const char*, CmpStr>
contentTypes{