commit | 724d0d8c6435b9c7b88ef384c8099d32e6164afa | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Wed Nov 06 10:05:36 2019 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Nov 12 16:04:32 2019 +0000 |
tree | 88cc0699db5fd982e09d63886693de9e08c4e446 | |
parent | 654708fdd419743c454da00251b12e3bfb0b3be4 [diff] [blame] |
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/ascii_string.cpp b/extensions/openpower-pels/ascii_string.cpp index 4bfc9cf..124bd0c 100644 --- a/extensions/openpower-pels/ascii_string.cpp +++ b/extensions/openpower-pels/ascii_string.cpp
@@ -65,7 +65,7 @@ } } -void AsciiString::flatten(Stream& stream) +void AsciiString::flatten(Stream& stream) const { stream.write(_string.data(), _string.size()); }