From 5debb411cc535c619077992985724c1f2ed11776 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Thu, 2 May 2019 21:41:49 +0100 Subject: [PATCH] block_of_code: Explicitly delete copy constructor --- src/backend/x64/block_of_code.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/x64/block_of_code.h b/src/backend/x64/block_of_code.h index fd5b4ee8..9858bfb4 100644 --- a/src/backend/x64/block_of_code.h +++ b/src/backend/x64/block_of_code.h @@ -31,6 +31,8 @@ struct RunCodeCallbacks { class BlockOfCode final : public Xbyak::CodeGenerator { public: BlockOfCode(RunCodeCallbacks cb, JitStateInfo jsi); + BlockOfCode(const BlockOfCode&) = delete; + /// Call when external emitters have finished emitting their preludes. void PreludeComplete();