Merge "Remove "template" keyword from non-templated calls." am: 9f9372bcc1
am: 4411b373be
Change-Id: Ia4f907dfc7d3ad2f04d3a61d43b6c6ba4c78930e
diff --git a/libs/vr/libpdx/private/pdx/rpc/variant.h b/libs/vr/libpdx/private/pdx/rpc/variant.h
index 2cc9664..bdcb293 100644
--- a/libs/vr/libpdx/private/pdx/rpc/variant.h
+++ b/libs/vr/libpdx/private/pdx/rpc/variant.h
@@ -292,7 +292,7 @@
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 @@
}
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>