diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2018-04-12 16:33:53 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-04-18 16:58:57 -0500 |
commit | d8249ee08eacba135a98c0d9294b88a1fe116bec (patch) | |
tree | d9966cea21f9ee4bf236fb154c041f39ac46ed5d /ipmi_fru_info_area.hpp | |
parent | c9fa69ef08e3eeb8e239f68d21419875b32917ae (diff) | |
download | phosphor-host-ipmid-d8249ee08eacba135a98c0d9294b88a1fe116bec.tar.gz phosphor-host-ipmid-d8249ee08eacba135a98c0d9294b88a1fe116bec.zip |
Remove trailing spaces
Change-Id: I3a58137b3300fcfe51a4182eb304a1b70885ad30
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'ipmi_fru_info_area.hpp')
-rw-r--r-- | ipmi_fru_info_area.hpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/ipmi_fru_info_area.hpp b/ipmi_fru_info_area.hpp index 61c4e81..7faca98 100644 --- a/ipmi_fru_info_area.hpp +++ b/ipmi_fru_info_area.hpp @@ -1,27 +1,27 @@ -#pragma once
-#include <string>
-#include <vector>
-
-namespace ipmi
-{
-namespace fru
-{
-using FruAreaData = std::vector<uint8_t>;
-using Section = std::string;
-using Value = std::string;
-using Property = std::string;
-using PropertyMap = std::map<Property, Value>;
-using FruInventoryData = std::map<Section, PropertyMap>;
-
-/**
- * @brief Builds Fru area data from inventory data
- *
- * @param[in] invData FRU properties values read from inventory
- *
- * @return FruAreaData FRU area data as per IPMI specification
- */
-FruAreaData buildFruAreaData(const FruInventoryData& inventory);
-
-} //fru
-} //ipmi
-
+#pragma once +#include <string> +#include <vector> + +namespace ipmi +{ +namespace fru +{ +using FruAreaData = std::vector<uint8_t>; +using Section = std::string; +using Value = std::string; +using Property = std::string; +using PropertyMap = std::map<Property, Value>; +using FruInventoryData = std::map<Section, PropertyMap>; + +/** + * @brief Builds Fru area data from inventory data + * + * @param[in] invData FRU properties values read from inventory + * + * @return FruAreaData FRU area data as per IPMI specification + */ +FruAreaData buildFruAreaData(const FruInventoryData& inventory); + +} //fru +} //ipmi + |