0
0
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:
Mathias Stearn 2011-01-18 19:51:09 -05:00
parent c92162b32d
commit 371e0b3b57
2 changed files with 2 additions and 2 deletions

View File

@ -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 , "/" );

View File

@ -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: