summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/perftests.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/dbtests/perftests.cpp
parent1360f243ee7fa662c0ded25a9bc479aa47388446 (diff)
downloadmongo-4035cab6b974613af9eb06ac1a92cc39d6ba8e06.tar.gz
SERVER-17307 Replace boost::shared_ptr and friends with std::shared_ptr
Diffstat (limited to 'src/mongo/dbtests/perftests.cpp')
-rw-r--r--src/mongo/dbtests/perftests.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/dbtests/perftests.cpp b/src/mongo/dbtests/perftests.cpp
index 20041d7b2c2..012f8bfab94 100644
--- a/src/mongo/dbtests/perftests.cpp
+++ b/src/mongo/dbtests/perftests.cpp
@@ -39,7 +39,6 @@
#include "mongo/platform/basic.h"
#include <boost/filesystem/operations.hpp>
-#include <boost/shared_ptr.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/condition.hpp>
#include <boost/version.hpp>
@@ -73,7 +72,7 @@
namespace PerfTests {
- using boost::shared_ptr;
+ using std::shared_ptr;
using std::cout;
using std::endl;
using std::fixed;
@@ -120,7 +119,7 @@ namespace PerfTests {
in ./../settings.py:
pstatspassword="<pwd>"
*/
- static boost::shared_ptr<DBClientConnection> conn;
+ static std::shared_ptr<DBClientConnection> conn;
static string _perfhostname;
void pstatsConnect() {
// no writing to perf db if this is a debug build
@@ -154,7 +153,7 @@ namespace PerfTests {
}
}
- boost::shared_ptr<DBClientConnection> c(new DBClientConnection(false, 60));
+ std::shared_ptr<DBClientConnection> c(new DBClientConnection(false, 60));
string err;
if( c->connect(HostAndPort("perfdb.10gen.cc"), err) ) {
if( !c->auth("perf", "perf", pwd, err) ) {