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/pdr_utils.hpp b/libpldmresponder/pdr_utils.hpp index 8f4f825..e644534 100644 --- a/libpldmresponder/pdr_utils.hpp +++ b/libpldmresponder/pdr_utils.hpp
@@ -1,19 +1,20 @@ #pragma once +#include "libpldm/pdr.h" + #include "types.hpp" #include "utils.hpp" #include <stdint.h> +#include <nlohmann/json.hpp> +#include <xyz/openbmc_project/Common/error.hpp> + #include <filesystem> #include <fstream> #include <functional> #include <iostream> -#include <nlohmann/json.hpp> #include <string> -#include <xyz/openbmc_project/Common/error.hpp> - -#include "libpldm/pdr.h" using InternalFailure = sdbusplus::xyz::openbmc_project::Common::Error::InternalFailure; @@ -101,8 +102,7 @@ { public: RepoInterface(pldm_pdr* repo) : repo(repo) - { - } + {} virtual ~RepoInterface() = default; @@ -177,8 +177,7 @@ { public: Repo(pldm_pdr* repo) : RepoInterface(repo) - { - } + {} pldm_pdr* getPdr() const override;