summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Neupauer <xmaton@messengeruser.com>2022-11-15 18:20:01 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-15 19:44:47 +0000
commit6cdad7c65db24d28d5f7b26ea7cece1495ac3dff (patch)
treed0c83cd1b4930a13e053e1abc746473aa12e28ed
parent356921365a763fd365437ff979a6719731d08f7e (diff)
downloadmongo-6cdad7c65db24d28d5f7b26ea7cece1495ac3dff.tar.gz
SERVER-70229 delete special member functions
-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);