mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
minor
This commit is contained in:
parent
32f60715a6
commit
dc77ed7c55
@ -55,7 +55,7 @@ namespace mongo {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if !defined(uassert)
|
#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 )
|
if( !expr )
|
||||||
throw bson::assertion();
|
throw bson::assertion();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user