diff options
author | Aaron <aaron@10gen.com> | 2009-01-23 10:15:36 -0500 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-01-23 10:15:36 -0500 |
commit | 2722c2f472ab811e124c45833072e5a2cd48a37c (patch) | |
tree | 8cb40f19eed882f9dc2577c7fa51c4ec309cc2d7 /db/pdfile.h | |
parent | 9d3019ba30f1faf42f21bc8f4e77d31a48e32b1c (diff) | |
download | mongo-2722c2f472ab811e124c45833072e5a2cd48a37c.tar.gz |
Convert to const
Diffstat (limited to 'db/pdfile.h')
-rw-r--r-- | db/pdfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/pdfile.h b/db/pdfile.h index bd84d183b85..617ea68cfd6 100644 --- a/db/pdfile.h +++ b/db/pdfile.h @@ -44,7 +44,7 @@ namespace mongo { void dropDatabase(const char *ns); bool repairDatabase(const char *ns, string &errmsg, bool preserveClonedFilesOnFailure = false, bool backupOriginalFiles = false); - void dropNS(string& dropNs);; + void dropNS(const string& dropNs);; bool userCreateNS(const char *ns, BSONObj j, string& err, bool logForReplication); auto_ptr<Cursor> findTableScan(const char *ns, const BSONObj& order, bool *isSorted=0); |