summaryrefslogtreecommitdiff
path: root/src/mongo/scripting
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2015-06-15 14:54:26 -0400
committerAndrew Morrow <acm@mongodb.com>2015-06-16 16:31:58 -0400
commit22dd61cfe60e05b13f9bb92aee3cb4660392435b (patch)
tree2046de28fe9e566dd9b1c023c9feec88385e480d /src/mongo/scripting
parentbe88e42ef819aeb76b8625e646adf67626844c25 (diff)
downloadmongo-22dd61cfe60e05b13f9bb92aee3cb4660392435b.tar.gz
SERVER-18991 Replace all usages of boost::noncopyable with MONGO_DISALLOW_COPYING
Diffstat (limited to 'src/mongo/scripting')
-rw-r--r--src/mongo/scripting/bson_template_evaluator.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/scripting/bson_template_evaluator.h b/src/mongo/scripting/bson_template_evaluator.h
index 67c3c5bf7d0..24504803400 100644
--- a/src/mongo/scripting/bson_template_evaluator.h
+++ b/src/mongo/scripting/bson_template_evaluator.h
@@ -46,8 +46,6 @@
#include <map>
#include <string>
-#include <boost/noncopyable.hpp>
-
#include "mongo/db/jsobj.h"
#include "mongo/stdx/functional.h"
#include "mongo/platform/random.h"
@@ -74,7 +72,8 @@ namespace mongo {
* method.
*
*/
- class BsonTemplateEvaluator : private boost::noncopyable {
+ class BsonTemplateEvaluator {
+ MONGO_DISALLOW_COPYING(BsonTemplateEvaluator);
public:
/* Status of template evaluation. Logically the the status are "success", "bad operator"
* and "operation evaluation error." */