-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Service Arch 2022-10-03
Const members in Timer and Stopwatch prevent them from being copy-assignable. This introduces limitations when trying to use boost::optional<Timer>, for example.
There is no reason for these members to be const. Their implementations should ensure those private members don't change.
- related to
-
SERVER-68121 clang-tool boost::optional -> std::optional migration
- Backlog