summaryrefslogtreecommitdiff
path: root/src/mongo/s/balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/balance.h')
-rw-r--r--src/mongo/s/balance.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/s/balance.h b/src/mongo/s/balance.h
index 9654207e4e2..596ad5ea239 100644
--- a/src/mongo/s/balance.h
+++ b/src/mongo/s/balance.h
@@ -30,7 +30,6 @@
#pragma once
-#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include "mongo/util/background.h"
@@ -73,7 +72,7 @@ namespace mongo {
int _balancedLastTime;
// decide which chunks to move; owned here.
- boost::scoped_ptr<BalancerPolicy> _policy;
+ std::unique_ptr<BalancerPolicy> _policy;
/**
* Checks that the balancer can connect to all servers it needs to do its job.