-
Type: Improvement
-
Resolution: Done
-
Priority: Trivial - P5
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
Platform 1 04/03/15
As mongo::OID::asDateT() calls mongo::OID::asTimeT(), which calls OID::getTimestamp(), which is a const member function, mongo::OID::asDateT() and mongo::OID::asTimeT() should also be marked as const.
- related to
-
CXX-560 mongo::OID::asTimeT() and mongo::OID::asDateT() should be const
- Closed
- links to