diff options
Diffstat (limited to 'util/log.h')
-rw-r--r-- | util/log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/log.h b/util/log.h index 668557a3e5b..bac1156d0f4 100644 --- a/util/log.h +++ b/util/log.h @@ -118,7 +118,7 @@ namespace mongo { #define LOGIT { ss << x; return *this; } class Logstream : public Nullstream { - static mongo::mutex mutex; + static boost::mutex &mutex; static int doneSetup; stringstream ss; public: @@ -128,7 +128,7 @@ namespace mongo { void flush() { // this ensures things are sane if ( doneSetup == 1717 ){ - scoped_lock lk(mutex); + boostlock lk(mutex); cout << ss.str(); cout.flush(); } |