Skip to content

Commit

Permalink
Update VariadicBind.h
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubFornadel authored Dec 18, 2018
1 parent 8465f05 commit b280587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SQLiteCpp/VariadicBind.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace detail {
template<class F, class ...Args, std::size_t ... I>
inline void invoke_with_index(F&& f, std::integer_sequence<std::size_t, I...>, const Args& ...args)
{
std::initializer_list<int> { (f(I+1, args), 0)... };
std::initializer_list<int>({ (f(I+1, args), 0)... });
}

/// implementation detail for variadic bind.
Expand Down

0 comments on commit b280587

Please sign in to comment.