Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBeard0531 committed Oct 26, 2011
1 parent 2ba6913 commit 576a669
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion db/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace mongo {
*/
static unsigned long long nThreads = 0;
void assertStartingUp() {
dassert( nThreads <= 1 );
assert( nThreads <= 1 );
}
Client& Client::initThread(const char *desc, AbstractMessagingPort *mp) {
#if defined(_DEBUG)
Expand Down
2 changes: 1 addition & 1 deletion db/cmdline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ namespace mongo {
return s.str();
}

casi< map<string,ParameterValidator*> * > pv_all = 0;
casi< map<string,ParameterValidator*> * > pv_all (NULL);

ParameterValidator::ParameterValidator( const string& name ) : _name( name ) {
if ( ! pv_all)
Expand Down

0 comments on commit 576a669

Please sign in to comment.