summaryrefslogtreecommitdiff
path: root/src/mongo/s/d_migrate.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-10 19:01:38 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-10 22:38:00 -0400
commit4035cab6b974613af9eb06ac1a92cc39d6ba8e06 (patch)
tree15c606e4514037d563fad28de9c091de3d9e473e /src/mongo/s/d_migrate.cpp
parent1360f243ee7fa662c0ded25a9bc479aa47388446 (diff)
downloadmongo-4035cab6b974613af9eb06ac1a92cc39d6ba8e06.tar.gz
SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr
Diffstat (limited to 'src/mongo/s/d_migrate.cpp')
-rw-r--r--src/mongo/s/d_migrate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/d_migrate.cpp b/src/mongo/s/d_migrate.cpp
index 9b24ee44525..a74198e6464 100644
--- a/src/mongo/s/d_migrate.cpp
+++ b/src/mongo/s/d_migrate.cpp
@@ -1273,7 +1273,7 @@ namespace {
// Resolve the shard connection strings.
{
- boost::shared_ptr<Shard> fromShard =
+ std::shared_ptr<Shard> fromShard =
grid.shardRegistry()->findIfExists(fromShardName);
uassert(28674,
str::stream() << "Source shard " << fromShardName
@@ -1282,7 +1282,7 @@ namespace {
fromShardCS = fromShard->getConnString();
- boost::shared_ptr<Shard> toShard = grid.shardRegistry()->findIfExists(toShardName);
+ std::shared_ptr<Shard> toShard = grid.shardRegistry()->findIfExists(toShardName);
uassert(28675,
str::stream() << "Destination shard " << toShardName
<< " is missing. This indicates metadata corruption.",