summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-05-28 08:26:19 +1000
committerMaxime Coste <mawww@kakoune.org>2018-05-28 08:26:19 +1000
commitf06badcfd36b7a748e77d9b733c7ac3c6e2173e4 (patch)
tree85ac01b8798c5557f74611719538db8c36e709fc /src
parentb5693c6253bd99af5d27488562f9598c1c45c85d (diff)
Fix clang compilation
Diffstat (limited to 'src')
-rw-r--r--src/option_types.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_types.hh b/src/option_types.hh
index c7b5d5f8..889dedcc 100644
--- a/src/option_types.hh
+++ b/src/option_types.hh
@@ -183,7 +183,7 @@ std::tuple<Types...> option_from_string_impl(Meta::Type<std::tuple<Types...>>, S
auto elems = str | split<StringView>(tuple_separator, '\\')
| transform(unescape<tuple_separator, '\\'>)
| 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>