# HG changeset patch # User John W. Eaton # Date 1648138152 14400 # Node ID 5fa3d8f0dcb3db894ebc808dfd554b562384c465 # Parent e2eed3610b7b97ea2ab7c4ff8ef7f3347644074c don't use mutable keyword for dld_function and mex_function data members * ov-dld-fcn.h (octave_dld_function::m_time_checked): Rename from m_t_checked. Change all uses. Don't declare as mutable. * ov-mex-fcn.h (octave_mex_function::m_time_checked): Don't declare as mutable. diff -r e2eed3610b7b -r 5fa3d8f0dcb3 libinterp/octave-value/ov-dld-fcn.h --- a/libinterp/octave-value/ov-dld-fcn.h Thu Mar 24 11:51:52 2022 -0400 +++ b/libinterp/octave-value/ov-dld-fcn.h Thu Mar 24 12:09:12 2022 -0400 @@ -48,7 +48,7 @@ public: octave_dld_function (void) - : m_sh_lib (), m_t_checked (), m_system_fcn_file () + : m_sh_lib (), m_time_checked (), m_system_fcn_file () { } octave_dld_function (octave_builtin::fcn ff, @@ -69,13 +69,13 @@ ~octave_dld_function (void); - void mark_fcn_file_up_to_date (const octave::sys::time& t) { m_t_checked = t; } + void mark_fcn_file_up_to_date (const octave::sys::time& t) { m_time_checked = t; } std::string fcn_file_name (void) const; octave::sys::time time_parsed (void) const; - octave::sys::time time_checked (void) const { return m_t_checked; } + octave::sys::time time_checked (void) const { return m_time_checked; } bool is_system_fcn_file (void) const { return m_system_fcn_file; } @@ -102,7 +102,7 @@ // The time the file was last checked to see if it needs to be // parsed again. - mutable octave::sys::time m_t_checked; + octave::sys::time m_time_checked; // True if this function came from a file that is considered to be a // system function. This affects whether we check the time stamp diff -r e2eed3610b7b -r 5fa3d8f0dcb3 libinterp/octave-value/ov-mex-fcn.h --- a/libinterp/octave-value/ov-mex-fcn.h Thu Mar 24 11:51:52 2022 -0400 +++ b/libinterp/octave-value/ov-mex-fcn.h Thu Mar 24 12:09:12 2022 -0400 @@ -114,7 +114,7 @@ // The time the file was last checked to see if it needs to be // parsed again. - mutable octave::sys::time m_time_checked; + octave::sys::time m_time_checked; bool m_interleaved;