diff options
| -rw-r--r-- | libs/vr/libpdx/private/pdx/rpc/variant.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/vr/libpdx/private/pdx/rpc/variant.h b/libs/vr/libpdx/private/pdx/rpc/variant.h index 2cc96645e2..bdcb2930c4 100644 --- a/libs/vr/libpdx/private/pdx/rpc/variant.h +++ b/libs/vr/libpdx/private/pdx/rpc/variant.h @@ -292,7 +292,7 @@ union Union<First, Rest...> { template <typename T> T& get(TypeTag<T>) { - return rest_.template get(TypeTag<T>{}); + return rest_.get(TypeTag<T>{}); } template <typename T> const T& get(TypeTag<T>) const { @@ -300,7 +300,7 @@ union Union<First, Rest...> { } template <typename T> constexpr std::int32_t index(TypeTag<T>) const { - return 1 + rest_.template index(TypeTag<T>{}); + return 1 + rest_.index(TypeTag<T>{}); } template <typename... Args> |