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

Commit f485dc72 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 am: 4411b373

am: 7fa50235

Change-Id: I14692ab188cab9bc6ea3651992ee9b7dc9f01d3d
parents 43291109 7fa50235
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>