summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/sequential_document_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/sequential_document_cache.h')
-rw-r--r--src/mongo/db/pipeline/sequential_document_cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/sequential_document_cache.h b/src/mongo/db/pipeline/sequential_document_cache.h
index d54174aa75e..b59c70412b7 100644
--- a/src/mongo/db/pipeline/sequential_document_cache.h
+++ b/src/mongo/db/pipeline/sequential_document_cache.h
@@ -44,7 +44,8 @@ namespace mongo {
* three states: building, serving, or abandoned. See SequentialDocumentCache::CacheStatus.
*/
class SequentialDocumentCache {
- MONGO_DISALLOW_COPYING(SequentialDocumentCache);
+ SequentialDocumentCache(const SequentialDocumentCache&) = delete;
+ SequentialDocumentCache& operator=(const SequentialDocumentCache&) = delete;
public:
explicit SequentialDocumentCache(size_t maxCacheSizeBytes) : _maxSizeBytes(maxCacheSizeBytes) {}