[SERVER-17596] mongo::OID::asTimeT() and mongo::OID::asDateT() should be const Created: 16/Mar/15 Updated: 19/Sep/15 Resolved: 17/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.1 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Peng Xie | Assignee: | Adam Midvidy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Platform 1 04/03/15 | ||||||||
| Participants: | |||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 17/Mar/15 ] |
|
Author: {u'name': u'root', u'email': u'root@Elena.(none)'}Message: Signed-off-by: Adam Midvidy <amidvidy@gmail.com> Closes #937 |