diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-11-06 10:05:36 -0600 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2019-11-12 16:04:32 +0000 |
commit | 724d0d8c6435b9c7b88ef384c8099d32e6164afa (patch) | |
tree | 88cc0699db5fd982e09d63886693de9e08c4e446 /extensions/openpower-pels/fru_identity.cpp | |
parent | 654708fdd419743c454da00251b12e3bfb0b3be4 (diff) | |
download | phosphor-logging-724d0d8c6435b9c7b88ef384c8099d32e6164afa.tar.gz phosphor-logging-724d0d8c6435b9c7b88ef384c8099d32e6164afa.zip |
PEL: Const flattens for the SRC sub classes
Make the flatten functions const for the various classes
that represent the SRC substructures.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I08f4ae6de65e269c9f1b82315115969c8552c782
Diffstat (limited to 'extensions/openpower-pels/fru_identity.cpp')
-rw-r--r-- | extensions/openpower-pels/fru_identity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/openpower-pels/fru_identity.cpp b/extensions/openpower-pels/fru_identity.cpp index 63c81fb..8c81e88 100644 --- a/extensions/openpower-pels/fru_identity.cpp +++ b/extensions/openpower-pels/fru_identity.cpp @@ -88,7 +88,7 @@ std::optional<std::string> FRUIdentity::getSN() const return std::nullopt; } -void FRUIdentity::flatten(Stream& pel) +void FRUIdentity::flatten(Stream& pel) const { pel << _type << _size << _flags; |