summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/working_set.h
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2013-11-22 13:31:59 -0500
committerHari Khalsa <hkhalsa@10gen.com>2013-11-22 14:03:43 -0500
commita20f6909f076f7595d526143ad724e96c245af39 (patch)
tree688650597afb9d09d002057eeef70f5c4babc4c2 /src/mongo/db/exec/working_set.h
parented2742a551948d859ab2881f26c52c16e7cc32ed (diff)
downloadmongo-a20f6909f076f7595d526143ad724e96c245af39.tar.gz
SERVER-10026 mock stage doesn't copy WSMs anymore but instead the data inside
Diffstat (limited to 'src/mongo/db/exec/working_set.h')
-rw-r--r--src/mongo/db/exec/working_set.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/exec/working_set.h b/src/mongo/db/exec/working_set.h
index e4049b4598f..01df4ce7a9c 100644
--- a/src/mongo/db/exec/working_set.h
+++ b/src/mongo/db/exec/working_set.h
@@ -29,6 +29,8 @@
#pragma once
#include <vector>
+
+#include "mongo/base/disallow_copying.h"
#include "mongo/db/diskloc.h"
#include "mongo/db/jsobj.h"
#include "mongo/platform/unordered_map.h"
@@ -149,6 +151,9 @@ namespace mongo {
* A WorkingSetMember may have any of the data above.
*/
struct WorkingSetMember {
+ private:
+ MONGO_DISALLOW_COPYING(WorkingSetMember);
+ public:
WorkingSetMember();
~WorkingSetMember();