summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/sbe/vm/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/sbe/vm/vm.h')
-rw-r--r--src/mongo/db/exec/sbe/vm/vm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/exec/sbe/vm/vm.h b/src/mongo/db/exec/sbe/vm/vm.h
index 4f8cde4f0f1..72af6dec2af 100644
--- a/src/mongo/db/exec/sbe/vm/vm.h
+++ b/src/mongo/db/exec/sbe/vm/vm.h
@@ -951,6 +951,9 @@ public:
std::free(_argStack);
}
+ ByteCode(const ByteCode&) = delete;
+ ByteCode& operator=(const ByteCode&) = delete;
+
FastTuple<bool, value::TypeTags, value::Value> run(const CodeFragment* code);
bool runPredicate(const CodeFragment* code);