diff options
| author | 2018-07-19 14:47:00 -0700 | |
|---|---|---|
| committer | 2018-07-19 14:47:00 -0700 | |
| commit | 515f2d35c05b313336217d80e3a17f39334dcadc (patch) | |
| tree | 9d6804021a5fc553604cbc973ca96269e5191923 | |
| parent | d760eb86623e011ea2fec592f164c07170de6d70 (diff) | |
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
| -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> |