Skip to content

Commit

Permalink
Fix error missing brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryLundberg committed Feb 27, 2018
1 parent 1fed805 commit f0f3e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/mysql_prepared_statement.ipp
Expand Up @@ -90,7 +90,7 @@ MYSQL_BIND make_bind(int&& i, my_bool* is_null = 0)
template<typename... Args> constexpr auto make_binds(Args&&... args)
-> std::array<MYSQL_BIND, sizeof...(Args)>
{
return { (make_bind(std::forward<Args>(args)))... };
return { { (make_bind(std::forward<Args>(args))) ... } };
}

template<typename T> T fetch_result(MYSQL_STMT* stmt, const std::string& sql);
Expand Down

0 comments on commit f0f3e99

Please sign in to comment.