mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-29 16:47:28 +01:00
minor
This commit is contained in:
parent
32f60715a6
commit
dc77ed7c55
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user