commit | 6492f524b7b2dfc9f04ee0ad68c4c2e35bbbcd25 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Tue Jun 16 10:34:05 2020 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Tue Jun 16 13:36:32 2020 +0800 |
tree | aa1258ec49bda25b1d2593cd0b81967842fb1bbd | |
parent | a18a126569cf7e33c7b93e6f996a5ee75641bb84 [diff] [blame] |
clang-format: update to latest from docs repo Since `Cpp11` is an alias for `Latest` and we should tend towards using the latest C++ standard, update the C++ standard to Latest. https://github.com/llvm/llvm-project/commit/e5032567903de19962333c4bf7d2edceaf4f9824#diff-b49a097415dff2837d9626d422c58ba8R82 https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Also, other OpenBMC repos are doing the same. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I449e88bb4e1e262060110e1a8f3e8db3ddfc74cf
diff --git a/oem/ibm/libpldmresponder/file_io_type_pel.cpp b/oem/ibm/libpldmresponder/file_io_type_pel.cpp index 69d3f2e..ef21c01 100644 --- a/oem/ibm/libpldmresponder/file_io_type_pel.cpp +++ b/oem/ibm/libpldmresponder/file_io_type_pel.cpp
@@ -2,6 +2,9 @@ #include "file_io_type_pel.hpp" +#include "libpldm/base.h" +#include "oem/ibm/libpldm/file_io.h" + #include "utils.hpp" #include "xyz/openbmc_project/Common/error.hpp" @@ -9,16 +12,14 @@ #include <systemd/sd-bus.h> #include <unistd.h> +#include <sdbusplus/server.hpp> +#include <xyz/openbmc_project/Logging/Entry/server.hpp> + #include <exception> #include <filesystem> #include <fstream> #include <iostream> -#include <sdbusplus/server.hpp> #include <vector> -#include <xyz/openbmc_project/Logging/Entry/server.hpp> - -#include "libpldm/base.h" -#include "oem/ibm/libpldm/file_io.h" namespace pldm {