diff --git a/src/backend/x64/a32_interface.cpp b/src/backend/x64/a32_interface.cpp index 5e384632..a8b0fff9 100644 --- a/src/backend/x64/a32_interface.cpp +++ b/src/backend/x64/a32_interface.cpp @@ -42,7 +42,7 @@ struct Jit::Impl { Impl(Jit* jit, A32::UserConfig config) : block_of_code(GenRunCodeCallbacks(config.callbacks, &GetCurrentBlock, this), JitStateInfo{jit_state}) , emitter(block_of_code, config, jit) - , config(config) + , config(std::move(config)) , jit_interface(jit) {} @@ -142,7 +142,7 @@ private: } }; -Jit::Jit(UserConfig config) : impl(std::make_unique(this, config)) {} +Jit::Jit(UserConfig config) : impl(std::make_unique(this, std::move(config))) {} Jit::~Jit() = default;