summaryrefslogtreecommitdiff
path: root/util/assert_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/assert_util.h')
-rw-r--r--util/assert_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/assert_util.h b/util/assert_util.h
index bae3a55cbf1..81a6b0df20a 100644
--- a/util/assert_util.h
+++ b/util/assert_util.h
@@ -32,7 +32,7 @@ namespace mongo {
when = 0;
}
private:
- static mongo::mutex *_mutex;
+ static boost::mutex *_mutex;
char msg[128];
char context[128];
const char *file;
@@ -44,7 +44,7 @@ namespace mongo {
/* asserted during global variable initialization */
return;
}
- scoped_lock lk(*_mutex);
+ boostlock lk(*_mutex);
strncpy(msg, m, 127);
strncpy(context, ctxt, 127);
file = f;