0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Dwight Merriman 2010-04-27 08:49:09 -04:00
parent 32f60715a6
commit dc77ed7c55

View File

@ -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();
} }