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