Skip to content

Commit

Permalink
minor: specify mongo namespace to avoid clash on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dirolf committed Sep 18, 2009
1 parent 53e89ef commit a2261b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbtests/jsobjtests.cpp
Expand Up @@ -652,7 +652,7 @@ namespace JsobjTests {
return BSON( "a" << BSON( "$size" << 4 ) );
}
BSONObj actual() {
return BSON( "a" << SIZE << 4 );
return BSON( "a" << mongo::SIZE << 4 );
}
};

Expand Down
2 changes: 1 addition & 1 deletion dbtests/querytests.cpp
Expand Up @@ -471,7 +471,7 @@ namespace QueryTests {
const char *ns = "unittests.querytests.Size";
client().insert( ns, fromjson( "{a:[1,2,3]}" ) );
client().ensureIndex( ns, BSON( "a" << 1 ) );
ASSERT( client().query( ns, QUERY( "a" << SIZE << 3 ).hint( BSON( "a" << 1 ) ) )->more() );
ASSERT( client().query( ns, QUERY( "a" << mongo::SIZE << 3 ).hint( BSON( "a" << 1 ) ) )->more() );
}
};

Expand Down

0 comments on commit a2261b1

Please sign in to comment.