summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands_public.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands_public.cpp')
-rw-r--r--src/mongo/s/commands_public.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands_public.cpp b/src/mongo/s/commands_public.cpp
index 29cbb1b5413..fcf2d97f2f3 100644
--- a/src/mongo/s/commands_public.cpp
+++ b/src/mongo/s/commands_public.cpp
@@ -58,7 +58,7 @@
#include "mongo/platform/atomic_word.h"
#include "mongo/s/client_info.h"
#include "mongo/s/cluster_explain.h"
-#include "mongo/s/chunk.h"
+#include "mongo/s/chunk_manager.h"
#include "mongo/s/config.h"
#include "mongo/s/cursors.h"
#include "mongo/s/distlock.h"
@@ -742,7 +742,7 @@ namespace mongo {
return passthrough( conf , cmdObj , result );
}
- cm->drop( cm );
+ cm->drop();
if( ! conf->removeSharding( fullns ) ){
warning() << "collection " << fullns