[SERVER-14167] oid.h repeated function declaration Created: 04/Jun/14  Updated: 08/Jan/15  Resolved: 05/Jun/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.2

Type: Bug Priority: Trivial - P5
Reporter: Michael Whittaker Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

The oid.h file in the bson directory declares the same function twice:

std::ostream& operator<<( std::ostream &s, const OID &o );

Both declarations are near the bottom of the file.



 Comments   
Comment by Githook User [ 05/Jun/14 ]

Author:

{u'username': u'mwhittaker', u'name': u'Michael Whittaker', u'email': u'mjw297@cornell.edu'}

Message: SERVER-14167 Removed spurious duplicate declaration

Signed-off-by: Benety Goh <benety@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/459b9e9d0f2f1ae1cbca07f8728a6ca253871d30

Comment by Michael Whittaker [ 05/Jun/14 ]

I created this pull request to fix the problem.

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