mongo::OID::asTimeT() and mongo::OID::asDateT() should be const

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Trivial - P5
    • 3.1.1
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Platform 1 04/03/15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Adam Midvidy (Inactive)
            Reporter:
            Peng Xie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: