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
diff --git a/extensions/openpower-pels/pce_identity.cpp b/extensions/openpower-pels/pce_identity.cpp
index 43c5b21..6a6f257 100644
--- a/extensions/openpower-pels/pce_identity.cpp
+++ b/extensions/openpower-pels/pce_identity.cpp
@@ -38,7 +38,7 @@
pel >> _pceName;
}
-void PCEIdentity::flatten(Stream& pel)
+void PCEIdentity::flatten(Stream& pel) const
{
pel << _type << _size << _flags << _mtms << _pceName;
}