diff options
author | Patrick Venture <venture@google.com> | 2018-08-31 09:33:09 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-04 16:43:17 -0700 |
commit | 3d6d3182ee0b0e88b81fbbbe5c91dea3e99425a9 (patch) | |
tree | e4ce167e617e988157a6ea8bfa9de579ebfcf0b8 /mslverify | |
parent | ac8039592ad4b58edbf79900bf41a1faabea3fa2 (diff) | |
download | phosphor-dbus-monitor-3d6d3182ee0b0e88b81fbbbe5c91dea3e99425a9.tar.gz phosphor-dbus-monitor-3d6d3182ee0b0e88b81fbbbe5c91dea3e99425a9.zip |
update .clang-format
Added the header inclusion order to the .clang-format file generated
these changes.
Change-Id: I4f51a20f469de431ee6a5ba78e3f4da39c980fab
Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'mslverify')
-rw-r--r-- | mslverify/util.hpp | 6 | ||||
-rw-r--r-- | mslverify/verify.cpp | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/mslverify/util.hpp b/mslverify/util.hpp index f487cee..e0d07ca 100644 --- a/mslverify/util.hpp +++ b/mslverify/util.hpp @@ -1,10 +1,10 @@ #pragma once +#include <phosphor-logging/elog-errors.hpp> +#include <phosphor-logging/elog.hpp> +#include <phosphor-logging/log.hpp> #include <sdbusplus/bus.hpp> #include <sdbusplus/message.hpp> -#include <phosphor-logging/log.hpp> -#include <phosphor-logging/elog.hpp> -#include <phosphor-logging/elog-errors.hpp> #include <xyz/openbmc_project/Common/error.hpp> namespace util diff --git a/mslverify/verify.cpp b/mslverify/verify.cpp index c9c06aa..a4b3ece 100644 --- a/mslverify/verify.cpp +++ b/mslverify/verify.cpp @@ -14,14 +14,16 @@ * limitations under the License. */ +#include "util.hpp" + #include <algorithm> #include <map> #include <string> -#include "util.hpp" using namespace std::literals::string_literals; -template <typename T> struct BusMeetsMSL +template <typename T> +struct BusMeetsMSL { std::string path; @@ -43,7 +45,8 @@ template <typename T> struct BusMeetsMSL } }; -template <typename T> struct PathMeetsMSL +template <typename T> +struct PathMeetsMSL { auto operator()(const T& arg) { |