[lldb] Remove the mutable specifier from DataExtractor's member

Having m_data_sp mutable sounds like a very bad idea. Fortunately,
nothing relies on this possibility.
This commit is contained in:
Pavel Labath 2020-02-18 10:22:31 +01:00
parent 57835875bd
commit 0ba247bc21
1 changed files with 2 additions and 2 deletions
lldb/include/lldb/Utility

View File

@ -1005,8 +1005,8 @@ protected:
m_byte_order; ///< The byte order of the data we are extracting from.
uint32_t m_addr_size; ///< The address size to use when extracting pointers or
/// addresses
mutable lldb::DataBufferSP m_data_sp; ///< The shared pointer to data that can
/// be shared among multiple instances
/// The shared pointer to data that can be shared among multiple instances
lldb::DataBufferSP m_data_sp;
const uint32_t m_target_byte_size;
};