Remove "template" keyword from non-templated calls.
These method calls are actually not templated and our next toolchain
will complain that using the template keyword for them is an error.
Bug: http://b/110779387
Test: Builds with next toolchain.
Change-Id: I9c9843a11af17ce83bff407f31c6baa2cd8b5238
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>