Skip to content

Commit

Permalink
gcc buildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
vorlac committed Oct 12, 2023
1 parent bf121ed commit b7abddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/bind.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace rl::inline utils
godot::ClassDB::bind_method(godot::D_METHOD(func_name.data()), Method);
else
{
std::tuple func_args = traits_t::arg_types_nocvref();
const typename traits_t::arg_types_nocvref func_args{};
std::apply(
[&](auto&&... args) {
godot::ClassDB::bind_method(godot::D_METHOD(func_name.data()), Method,
Expand Down Expand Up @@ -93,7 +93,7 @@ namespace rl::inline utils
Function);
else
{
const typename traits_t::arg_types func_args{};
const typename traits_t::arg_types_nocvref func_args{};
std::vector<godot::String> vec_strs = rl::detail::to_arg_vec(func_args);
std::tuple arg_types_str{ detail::arg_vec_to_tuple<tup_size>(vec_strs) };

Expand Down

0 comments on commit b7abddc

Please sign in to comment.