summaryrefslogtreecommitdiff
path: root/src/mongo/util/intrusive_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/intrusive_counter.h')
-rw-r--r--src/mongo/util/intrusive_counter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/intrusive_counter.h b/src/mongo/util/intrusive_counter.h
index 1ca640e5a4b..448214ab965 100644
--- a/src/mongo/util/intrusive_counter.h
+++ b/src/mongo/util/intrusive_counter.h
@@ -32,7 +32,6 @@
#include <boost/intrusive_ptr.hpp>
#include <stdlib.h>
-#include "mongo/base/disallow_copying.h"
#include "mongo/base/string_data.h"
#include "mongo/platform/atomic_word.h"
#include "mongo/util/allocator.h"
@@ -41,7 +40,8 @@ namespace mongo {
/// This is an alternative base class to the above ones (will replace them eventually)
class RefCountable {
- MONGO_DISALLOW_COPYING(RefCountable);
+ RefCountable(const RefCountable&) = delete;
+ RefCountable& operator=(const RefCountable&) = delete;
public:
/// If false you have exclusive access to this object. This is useful for implementing COW.