diff options
Diffstat (limited to 'src/mongo/s/cluster_write.h')
-rw-r--r-- | src/mongo/s/cluster_write.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/s/cluster_write.h b/src/mongo/s/cluster_write.h index e49509f2376..fce2f26564d 100644 --- a/src/mongo/s/cluster_write.h +++ b/src/mongo/s/cluster_write.h @@ -28,7 +28,6 @@ #pragma once -#include <boost/scoped_ptr.hpp> #include "mongo/s/write_ops/batch_write_exec.h" #include "mongo/s/write_ops/batched_command_request.h" @@ -52,7 +51,7 @@ namespace mongo { const bool _autoSplit; const int _timeoutMillis; - boost::scoped_ptr<ClusterWriterStats> _stats; + std::unique_ptr<ClusterWriterStats> _stats; }; class ClusterWriterStats { @@ -69,7 +68,7 @@ namespace mongo { private: - boost::scoped_ptr<BatchWriteExecStats> _shardStats; + std::unique_ptr<BatchWriteExecStats> _shardStats; }; /** |