mirror of https://github.com/procxx/kepka.git
Fix build for GCC.
This commit is contained in:
parent
d8a4ede4b5
commit
20b67ee000
|
@ -89,11 +89,11 @@ public:
|
||||||
|
|
||||||
template <typename T, typename... Args>
|
template <typename T, typename... Args>
|
||||||
T &set(Args &&...args) {
|
T &set(Args &&...args) {
|
||||||
_impl.set<T>(std::forward<Args>(args)...);
|
_impl.template set<T>(std::forward<Args>(args)...);
|
||||||
return get_unchecked<T>();
|
return get_unchecked<T>();
|
||||||
}
|
}
|
||||||
void clear() {
|
void clear() {
|
||||||
_impl.set<none_type>();
|
_impl.template set<none_type>();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
Loading…
Reference in New Issue