]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove non-deducible parameter for std::advance overload
authorJonathan Wakely <jwakely@redhat.com>
Thu, 16 Sep 2021 12:35:24 +0000 (13:35 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 16 Sep 2021 22:06:37 +0000 (23:06 +0100)
This was just a copy and paste error.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* include/bits/fs_path.h (advance): Remove non-deducible
template parameter.

libstdc++-v3/include/bits/fs_path.h

index 3151af1e9019ead840082e79cd5a0e4308c3bd42..235d1df748f6aedfb2399cf29d7d639d528cd0c7 100644 (file)
@@ -1357,7 +1357,7 @@ inline ptrdiff_t
 distance(filesystem::path::iterator __first, filesystem::path::iterator __last)
 { return __path_iter_distance(__first, __last); }
 
-template<typename _InputIterator, typename _Distance>
+template<typename _Distance>
   void
   advance(filesystem::path::iterator& __i, _Distance __n)
   { __path_iter_advance(__i, static_cast<ptrdiff_t>(__n)); }