]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove unused typedef in <ranges>
authorJonathan Wakely <jwakely@redhat.com>
Wed, 28 Aug 2024 10:49:08 +0000 (11:49 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 2 Dec 2024 22:41:42 +0000 (22:41 +0000)
This local typedef should have been removed in r14-6199-g45630fbcf7875b.

libstdc++-v3/ChangeLog:

* include/std/ranges (to): Remove unused typedef.

(cherry picked from commit a59f1cc31cf6c7ed30a78cef134ea3ed5e139414)

libstdc++-v3/include/std/ranges

index 4c92f609f41eac3806ec00c5e43c7d7a0079483a..44c6d2ff11e9a6a7512bcd165b5beb11a34d081f 100644 (file)
@@ -9407,7 +9407,6 @@ namespace __detail
                         std::forward<_Args>(__args)...);
          else
            {
-             using _RefT = range_reference_t<_Rg>;
              static_assert(constructible_from<_Cont, _Args...>);
              _Cont __c(std::forward<_Args>(__args)...);
              if constexpr (sized_range<_Rg>