diff options
author | Matt Diener <matt.diener@mongodb.com> | 2022-09-26 19:13:19 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-09-26 20:44:14 +0000 |
commit | e560c6c019ec1ab5ad98ee198f84830c31708479 (patch) | |
tree | 34d4ab94421b9780ed76a7dfd974b61a95ce92cb | |
parent | 425eb62e4440d2de191ce336ae1557424beda449 (diff) | |
download | mongo-e560c6c019ec1ab5ad98ee198f84830c31708479.tar.gz |
SERVER-69953 Remove const members from Timer and Stopwatch
-rw-r--r-- | src/mongo/util/clock_source.h | 2 | ||||
-rw-r--r-- | src/mongo/util/timer.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/util/clock_source.h b/src/mongo/util/clock_source.h index 55d1c5720a3..3ebdeece6e6 100644 --- a/src/mongo/util/clock_source.h +++ b/src/mongo/util/clock_source.h @@ -93,7 +93,7 @@ public: } private: - ClockSource* const _clockSource; + ClockSource* _clockSource; Date_t _start; }; diff --git a/src/mongo/util/timer.h b/src/mongo/util/timer.h index 9c684585460..86071b577ce 100644 --- a/src/mongo/util/timer.h +++ b/src/mongo/util/timer.h @@ -74,11 +74,11 @@ public: } private: - TickSource* const _tickSource; + TickSource* _tickSource; // Derived value from _countsPerSecond. This represents the conversion ratio // from clock ticks to microseconds. - const double _microsPerCount; + double _microsPerCount; long long now() const; |