diff options
author | Patrick Venture <venture@google.com> | 2018-10-14 13:34:26 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-10-14 13:36:33 -0700 |
commit | a680d1eff9ee796a294761dbdffe62cae4cda161 (patch) | |
tree | 31da3f3f491fe82684428f3c604dda4391357b74 /manager.hpp | |
parent | d6819c9fcc44b3691eeb98ef3675d553bb28eeeb (diff) | |
download | phosphor-inventory-manager-a680d1eff9ee796a294761dbdffe62cae4cda161.tar.gz phosphor-inventory-manager-a680d1eff9ee796a294761dbdffe62cae4cda161.zip |
formatter: update clang-format and fix-up file(s)
clang-format-6.0 introduced new changes, also then updates to
.clang-format introduce more new changes.
Change-Id: Iec9f84e3a7a5bf254d66eee46cdc9b3070e06687
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'manager.hpp')
-rw-r--r-- | manager.hpp | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/manager.hpp b/manager.hpp index 9bbd3c7..1213267 100644 --- a/manager.hpp +++ b/manager.hpp @@ -1,15 +1,16 @@ #pragma once +#include "events.hpp" +#include "functor.hpp" +#include "serialize.hpp" +#include "types.hpp" + #include <map> #include <memory> +#include <sdbusplus/server.hpp> #include <string> #include <vector> -#include <sdbusplus/server.hpp> #include <xyz/openbmc_project/Inventory/Manager/server.hpp> -#include "events.hpp" -#include "functor.hpp" -#include "types.hpp" -#include "serialize.hpp" namespace phosphor { @@ -18,7 +19,8 @@ namespace inventory namespace manager { -template <typename T> using ServerObject = T; +template <typename T> +using ServerObject = T; using ManagerIface = sdbusplus::xyz::openbmc_project::Inventory::server::Manager; @@ -32,7 +34,8 @@ using ManagerIface = * * @tparam T - The sdbusplus server binding type. */ -template <typename T, typename Enable = void> struct PropertiesVariant +template <typename T, typename Enable = void> +struct PropertiesVariant { }; @@ -46,7 +49,8 @@ struct PropertiesVariant< template <typename T> using PropertiesVariantType = typename PropertiesVariant<T>::Type; -template <typename T, typename U = int> struct HasProperties : std::false_type +template <typename T, typename U = int> +struct HasProperties : std::false_type { }; @@ -133,7 +137,8 @@ void propDeSerialize(const std::string& path, const std::string& iface, * @tparam T - The type of the interface being adapted. */ -template <typename T> struct MakeInterface +template <typename T> +struct MakeInterface { static any_ns::any make(sdbusplus::bus::bus& bus, const char* path, const Interface& props) |