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

XMLWordPrintableJSON

    • None
    • 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:
            Unassigned
            Reporter:
            Peng Xie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: