summaryrefslogtreecommitdiff
path: root/db/cloner.cpp
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2010-04-23 16:41:56 -0400
committerDwight <dmerriman@gmail.com>2010-04-23 16:41:56 -0400
commitbd8a3e9527bd67c1566c4de691ed924755ac2406 (patch)
tree1cf97640c31db48ebb5235e3e69871dd749430f8 /db/cloner.cpp
parent7925232f7e0f2b9738cb29c877e7b769aab516f7 (diff)
downloadmongo-bd8a3e9527bd67c1566c4de691ed924755ac2406.tar.gz
more /_commands
Diffstat (limited to 'db/cloner.cpp')
-rw-r--r--db/cloner.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/cloner.cpp b/db/cloner.cpp
index 6c976555d18..12b57ce2e95 100644
--- a/db/cloner.cpp
+++ b/db/cloner.cpp
@@ -584,7 +584,7 @@ namespace mongo {
class CmdCopyDbGetNonce : public Command {
public:
CmdCopyDbGetNonce() : Command("copydbgetnonce") { }
- virtual bool adminOnly() {
+ virtual bool adminOnly() const {
return true;
}
virtual bool slaveOk() const {
@@ -625,7 +625,7 @@ namespace mongo {
class CmdCopyDb : public Command {
public:
CmdCopyDb() : Command("copydb") { }
- virtual bool adminOnly() {
+ virtual bool adminOnly() const {
return true;
}
virtual bool slaveOk() const {
@@ -675,7 +675,7 @@ namespace mongo {
class CmdRenameCollection : public Command {
public:
CmdRenameCollection() : Command( "renameCollection" ) {}
- virtual bool adminOnly() {
+ virtual bool adminOnly() const {
return true;
}
virtual bool slaveOk() const {