diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-04-01 15:03:35 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-04-03 13:31:49 -0400 |
commit | 825c3fb55d1dd5be42f64268968dcf2366467631 (patch) | |
tree | f57248daa6b2da74f214c1eaed125d35c6f352df /src/mongo/db/commands/validate.cpp | |
parent | 6a330b4d9300e2e0592e6a67687f227c8503b8b5 (diff) | |
download | mongo-825c3fb55d1dd5be42f64268968dcf2366467631.tar.gz |
SERVER-13084: const work for NamespaceDetails to make it clear where more work to do
Diffstat (limited to 'src/mongo/db/commands/validate.cpp')
-rw-r--r-- | src/mongo/db/commands/validate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/validate.cpp b/src/mongo/db/commands/validate.cpp index 848f13d5ab4..d80e2eca635 100644 --- a/src/mongo/db/commands/validate.cpp +++ b/src/mongo/db/commands/validate.cpp @@ -99,7 +99,7 @@ namespace mongo { const bool full = cmdObj["full"].trueValue(); const bool scanData = full || cmdObj["scandata"].trueValue(); - NamespaceDetails* nsd = collection->details(); + const NamespaceDetails* nsd = collection->details(); bool valid = true; BSONArrayBuilder errors; // explanation(s) for why valid = false |