summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/failing_mtms.hpp
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2019-11-06 10:35:42 -0600
committerMatt Spinler <spinler@us.ibm.com>2019-11-12 16:04:32 +0000
commit0688545ba47676829d52aebed21f4ed290c5643a (patch)
treeed011ff15e96c003fcf97dfeab1a95b8cf3c1a87 /extensions/openpower-pels/failing_mtms.hpp
parentd7b004bf4f007a5905cd6eb1682dfc8decce31a8 (diff)
downloadphosphor-logging-0688545ba47676829d52aebed21f4ed290c5643a.tar.gz
phosphor-logging-0688545ba47676829d52aebed21f4ed290c5643a.zip
PEL: Make PEL::flatten() const
This includes making the flatten() method const in the PEL section base class and in all of its derived classes. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6be787962c6d7dfa01bdced2f9024564e6ac1b08
Diffstat (limited to 'extensions/openpower-pels/failing_mtms.hpp')
-rw-r--r--extensions/openpower-pels/failing_mtms.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/openpower-pels/failing_mtms.hpp b/extensions/openpower-pels/failing_mtms.hpp
index bbf0b2a..65186eb 100644
--- a/extensions/openpower-pels/failing_mtms.hpp
+++ b/extensions/openpower-pels/failing_mtms.hpp
@@ -49,7 +49,7 @@ class FailingMTMS : public Section
*
* @param[in] stream - The stream to write to
*/
- void flatten(Stream& stream) override;
+ void flatten(Stream& stream) const override;
/**
* @brief Returns the size of this section when flattened into a PEL
OpenPOWER on IntegriCloud