Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 515f2d35 authored by Stephen Hines's avatar Stephen Hines
Browse files

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
parent d760eb86
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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>