diff options
author | Eliot Horowitz <eliot@10gen.com> | 2015-01-09 09:03:11 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2015-01-09 09:17:13 -0500 |
commit | 5f3d618cc212c5d364568e56335e93e7e6ad4937 (patch) | |
tree | cdb714503fb7e40f0b2c5c9cbad42749edc62a47 /src/mongo/db/audit.h | |
parent | 2ca0b90c51864e5d71abd018242cdb3b64dda66b (diff) | |
download | mongo-5f3d618cc212c5d364568e56335e93e7e6ad4937.tar.gz |
logCommandAuthzCheck doesn't need to allocate a NamespaceString when not needed
Diffstat (limited to 'src/mongo/db/audit.h')
-rw-r--r-- | src/mongo/db/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h index 2fa742c5011..d43ff9768f4 100644 --- a/src/mongo/db/audit.h +++ b/src/mongo/db/audit.h @@ -74,7 +74,7 @@ namespace audit { */ void logCommandAuthzCheck( ClientBasic* client, - const NamespaceString& ns, + const std::string& dbname, const BSONObj& cmdObj, Command* command, ErrorCodes::Error result); |