Skip to content

Commit

Permalink
Fix warning: variable "arg_count" was declared but never referenced
Browse files Browse the repository at this point in the history
  • Loading branch information
taketwo committed Jan 30, 2017
1 parent 7551089 commit c507b79
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/rttr/detail/default_arguments/invoke_with_defaults.h
Expand Up @@ -70,7 +70,6 @@ struct invoke_defaults_helper
invoke_with_defaults_helper(const F& func_ptr, const instance& obj, index_sequence<Def_Idx...>,
const std::tuple<Def_Types...>& def_args, const TArgs&...args)
{
static RTTR_CONSTEXPR_OR_CONST std::size_t arg_count = sizeof...(Def_Idx) + sizeof...(TArgs);
return Invoker_Class::invoke(func_ptr, obj, args..., argument(std::get<Def_Idx>(def_args))...);
}

Expand Down

0 comments on commit c507b79

Please sign in to comment.