mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
can't inline isOk
This commit is contained in:
parent
43ab678aa0
commit
4557de5376
@ -105,7 +105,7 @@ namespace mongo {
|
|||||||
|
|
||||||
/* --- dbclientcommands --- */
|
/* --- dbclientcommands --- */
|
||||||
|
|
||||||
inline bool DBClientWithCommands::isOk(const BSONObj& o) {
|
bool DBClientWithCommands::isOk(const BSONObj& o) {
|
||||||
return o.getIntField("ok") == 1;
|
return o.getIntField("ok") == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user