[SERVER-1959] It is impossible to compare const OID Created: 17/Oct/10  Updated: 12/Jul/16  Resolved: 18/Oct/10

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0, 1.7.1
Fix Version/s: 1.7.2

Type: Improvement Priority: Trivial - P5
Reporter: Bartosz G?za Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Any


Participants:

 Description   

there is only
OID::operator==(const OID&)

adding:
OID::operator==(const OID&) const
would fix the problem



 Comments   
Comment by auto [ 18/Oct/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: make OID == and != const SERVER-1959
http://github.com/mongodb/mongo/commit/0e2f0db9a7b102b7e8cdb1fc87e6ea0af217a50e

Comment by Bartosz G?za [ 17/Oct/10 ]

Patch:
http://github.com/bargez/mongo/commit/e8e392d93cc49bef10f9a606efbd5eae45e8a370

Generated at Thu Feb 08 02:58:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.