summaryrefslogtreecommitdiff
path: root/src/mongo/db/hasher.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-01-04 12:23:38 -0500
committerAndrew Morrow <acm@mongodb.com>2015-01-05 18:52:20 -0500
commite782819da4ce547272c653ec85984cacf5e60ff2 (patch)
tree4ed2ffdbe2c74634ed836cde991a2bdd2c9f7bf9 /src/mongo/db/hasher.cpp
parent0c4d932be42022627cd1e8a826fc69cd3edac23f (diff)
downloadmongo-e782819da4ce547272c653ec85984cacf5e60ff2.tar.gz
SERVER-13256 Remove scoped_ptr from pch.h
Diffstat (limited to 'src/mongo/db/hasher.cpp')
-rw-r--r--src/mongo/db/hasher.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/hasher.cpp b/src/mongo/db/hasher.cpp
index 4b41b163156..8acb2269459 100644
--- a/src/mongo/db/hasher.cpp
+++ b/src/mongo/db/hasher.cpp
@@ -33,11 +33,16 @@
*/
#include "mongo/db/hasher.h"
+
+#include <boost/scoped_ptr.hpp>
+
#include "mongo/db/jsobj.h"
#include "mongo/util/startup_test.h"
namespace mongo {
+ using boost::scoped_ptr;
+
Hasher::Hasher( HashSeed seed ) : _seed( seed ) {
md5_init( &_md5State );
md5_append( &_md5State , reinterpret_cast< const md5_byte_t * >( & _seed ) , sizeof( _seed ) );