Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Service Arch 2022-10-03
Description
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.
Attachments
Issue Links
- related to
-
SERVER-68121 clang-tool boost::optional -> std::optional migration
-
- Backlog
-