mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-29 16:47:28 +01:00
more windows fixes
This commit is contained in:
parent
c92162b32d
commit
371e0b3b57
@ -211,7 +211,7 @@ namespace mongo {
|
||||
b.appendNumber( "totalCreated" , created );
|
||||
}
|
||||
|
||||
bool DBConnectionPool::serverNameCompare::operator()( const string& a , const string& b ){
|
||||
bool DBConnectionPool::serverNameCompare::operator()( const string& a , const string& b ) const{
|
||||
string ap = str::before( a , "/" );
|
||||
string bp = str::before( b , "/" );
|
||||
|
||||
|
@ -101,7 +101,7 @@ namespace mongo {
|
||||
|
||||
/** compares server namees, but is smart about replica set names */
|
||||
struct serverNameCompare {
|
||||
bool operator()( const string& a , const string& b );
|
||||
bool operator()( const string& a , const string& b ) const;
|
||||
};
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user