Fix clang compilation

This commit is contained in:
Maxime Coste 2018-05-28 08:26:19 +10:00
parent b5693c6253
commit f06badcfd3

View File

@ -183,7 +183,7 @@ std::tuple<Types...> option_from_string_impl(Meta::Type<std::tuple<Types...>>, S
auto elems = str | split<StringView>(tuple_separator, '\\') auto elems = str | split<StringView>(tuple_separator, '\\')
| transform(unescape<tuple_separator, '\\'>) | transform(unescape<tuple_separator, '\\'>)
| static_gather<error, sizeof...(Types)>(); | static_gather<error, sizeof...(Types)>();
return {option_from_string(Meta::Type<Types>{}, elems[I])...}; return std::tuple<Types...>{option_from_string(Meta::Type<Types>{}, elems[I])...};
} }
template<typename... Types> template<typename... Types>