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/http/common.h b/http/common.h
index 77c2074..47df7e6 100644
--- a/http/common.h
+++ b/http/common.h
@@ -1,13 +1,14 @@
#pragma once
+#include "utility.h"
+
#include <boost/beast/http/verb.hpp>
+
#include <iostream>
#include <stdexcept>
#include <string>
#include <vector>
-#include "utility.h"
-
namespace crow
{
@@ -81,20 +82,24 @@
std::cerr << std::endl;
}
- template <typename T> T get(unsigned) const;
+ template <typename T>
+ T get(unsigned) const;
};
-template <> inline int64_t RoutingParams::get<int64_t>(unsigned index) const
+template <>
+inline int64_t RoutingParams::get<int64_t>(unsigned index) const
{
return intParams[index];
}
-template <> inline uint64_t RoutingParams::get<uint64_t>(unsigned index) const
+template <>
+inline uint64_t RoutingParams::get<uint64_t>(unsigned index) const
{
return uintParams[index];
}
-template <> inline double RoutingParams::get<double>(unsigned index) const
+template <>
+inline double RoutingParams::get<double>(unsigned index) const
{
return doubleParams[index];
}