summaryrefslogtreecommitdiff
path: root/bson/bson.h
diff options
context:
space:
mode:
authorDwight Merriman <dwight@10gen.com>2010-04-27 08:49:09 -0400
committerDwight Merriman <dwight@10gen.com>2010-04-27 08:49:09 -0400
commitdc77ed7c554844daa03d0ba92c8251e2a4233bdd (patch)
tree89a224ec8e34caf20049675bfed93c863a05e399 /bson/bson.h
parent32f60715a6e46acd89d7e059dde6d8e7084a7f64 (diff)
downloadmongo-dc77ed7c554844daa03d0ba92c8251e2a4233bdd.tar.gz
minor
Diffstat (limited to 'bson/bson.h')
-rw-r--r--bson/bson.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bson/bson.h b/bson/bson.h
index 78f3121dd77..9f611bc32e3 100644
--- a/bson/bson.h
+++ b/bson/bson.h
@@ -55,7 +55,7 @@ namespace mongo {
}
#endif
#if !defined(uassert)
- inline void uassert(unsigned msgid, const char *msg, bool expr) {
+ inline void uassert(unsigned msgid, std::string msg, bool expr) {
if( !expr )
throw bson::assertion();
}