Skip to content

Commit ff691d7

Browse files
committed
Fixed compile issue on msvc.
1 parent 7aa404e commit ff691d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/interval-tree/optional.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace lib_interval_tree
8787
template < \
8888
typename U, \
8989
typename... Args, \
90-
std::enable_if_t<std::is_constructible<T, std::initializer_list<U>&, Args&&...>::value, int>...> \
90+
std::enable_if_t<std::is_constructible<T, std::initializer_list<U>&, Args&&...>::value, int> = 0> \
9191
constexpr explicit optional_base(in_place_t, std::initializer_list<U> il, Args&&... args) \
9292
: value_(il, std::forward<Args>(args)...) \
9393
, engaged_{true} \

0 commit comments

Comments
 (0)