forked from OSchip/llvm-project
[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:
parent
57835875bd
commit
0ba247bc21
lldb/include/lldb/Utility
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue