Skip to content

Commit

Permalink
Fix compilation issue in this->type_check_args
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Oct 22, 2024
1 parent a842945 commit 6f2591f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/eosio/vm/execution_context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ namespace eosio { namespace vm {
_host = host;

const auto& ft = _mod->jit_mod->get_function_type(func_index);
this->type_check_args(ft, args...);
this->type_check_args(ft, std::forward<Args>(args)... ); // args not modified by type_check_args
native_value result;

#pragma GCC diagnostic push
Expand Down Expand Up @@ -789,7 +789,7 @@ namespace eosio { namespace vm {
_last_op_index = last_last_op_index;
});

this->type_check_args(_mod->get_function_type(func_index), args...);
this->type_check_args(_mod->get_function_type(func_index), std::forward<Args>(args)...); // args not modified
push_args(std::forward<Args>(args)...);
push_call<true>(func_index);

Expand Down

0 comments on commit 6f2591f

Please sign in to comment.