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/libpldmresponder/fru.cpp b/libpldmresponder/fru.cpp index 50e46d8..b3dc73b 100644 --- a/libpldmresponder/fru.cpp +++ b/libpldmresponder/fru.cpp
@@ -1,14 +1,15 @@ #include "fru.hpp" +#include "libpldm/utils.h" + #include "utils.hpp" #include <systemd/sd-journal.h> -#include <iostream> #include <sdbusplus/bus.hpp> -#include <set> -#include "libpldm/utils.h" +#include <iostream> +#include <set> namespace pldm {