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

Commit 4411b373 authored by Stephen Hines's avatar Stephen Hines Committed by android-build-merger
Browse files

Merge "Remove "template" keyword from non-templated calls."

am: 9f9372bc

Change-Id: I0048ea15b8cb949261902a198091fb674ef30d8c
parents 088bf6b8 9f9372bc
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -292,7 +292,7 @@ union Union<First, Rest...> {


  template <typename T>
  template <typename T>
  T& get(TypeTag<T>) {
  T& get(TypeTag<T>) {
    return rest_.template get(TypeTag<T>{});
    return rest_.get(TypeTag<T>{});
  }
  }
  template <typename T>
  template <typename T>
  const T& get(TypeTag<T>) const {
  const T& get(TypeTag<T>) const {
@@ -300,7 +300,7 @@ union Union<First, Rest...> {
  }
  }
  template <typename T>
  template <typename T>
  constexpr std::int32_t index(TypeTag<T>) const {
  constexpr std::int32_t index(TypeTag<T>) const {
    return 1 + rest_.template index(TypeTag<T>{});
    return 1 + rest_.index(TypeTag<T>{});
  }
  }


  template <typename... Args>
  template <typename... Args>