diff options
author | David Storch <david.storch@10gen.com> | 2016-05-03 13:57:13 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2016-05-04 09:41:58 -0400 |
commit | 3e3313409d90026ed5f629e8ffb87b04cca5a524 (patch) | |
tree | 89552b979750cb9d5c4abf26472bb9211179eb19 /src/mongo/db/commands/current_op.cpp | |
parent | 8f445bef3ad620018a422e7b08ebff552dd0b825 (diff) | |
download | mongo-3e3313409d90026ed5f629e8ffb87b04cca5a524.tar.gz |
SERVER-23349 make CollatorInterface methods const
Also changes all uses of CollatorInterface* to pointers-to-const.
Diffstat (limited to 'src/mongo/db/commands/current_op.cpp')
-rw-r--r-- | src/mongo/db/commands/current_op.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/current_op.cpp b/src/mongo/db/commands/current_op.cpp index 2f5798b410f..0e25e16f443 100644 --- a/src/mongo/db/commands/current_op.cpp +++ b/src/mongo/db/commands/current_op.cpp @@ -105,7 +105,7 @@ public: // collection, we pass in a fake collection name (and this is okay, because $where parsing // only relies on the database part of the namespace). const NamespaceString fakeNS(db, "$cmd"); - CollatorInterface* collator = nullptr; + const CollatorInterface* collator = nullptr; const Matcher matcher(filter, ExtensionsCallbackReal(txn, &fakeNS), collator); BSONArrayBuilder inprogBuilder(result.subarrayStart("inprog")); |