diff --git a/src/hooks.hook.cpp b/src/hooks.hook.cpp index d98f9c6..457ecf8 100644 --- a/src/hooks.hook.cpp +++ b/src/hooks.hook.cpp @@ -260,7 +260,7 @@ namespace lime /* # We failed to offset, thus we have to fall back to a jump-table at the end of the trampoline - */ + */ const auto imm_value = std::visit([](auto amount) { return static_cast(amount); }, imm.amount);