Fix build for GCC.

This commit is contained in:
John Preston 2018-06-06 13:59:53 +03:00
parent d8a4ede4b5
commit 20b67ee000

View File

@ -89,11 +89,11 @@ public:
template <typename T, typename... Args>
T &set(Args &&...args) {
_impl.set<T>(std::forward<Args>(args)...);
_impl.template set<T>(std::forward<Args>(args)...);
return get_unchecked<T>();
}
void clear() {
_impl.set<none_type>();
_impl.template set<none_type>();
}
template <typename T>