Commit a2c0fa35 by Jonathan Wakely

libstdc++: Fix redundant assignment (PR 94629)

This appears to be a copy&paste error, which cppcheck diagnoses.

	PR other/94629
	* include/debug/formatter.h (_Error_formatter::_Parameter): Fix
	redundant assignment in constructor.
parent 36bc6c65
2020-04-19 Jonathan Wakely <jwakely@redhat.com>
PR other/94629
* include/debug/formatter.h (_Error_formatter::_Parameter): Fix
redundant assignment in constructor.
2020-04-18 Jonathan Wakely <jwakely@redhat.com> 2020-04-18 Jonathan Wakely <jwakely@redhat.com>
* include/std/chrono (duration, time_point): Define operator<=> and * include/std/chrono (duration, time_point): Define operator<=> and
......
...@@ -300,7 +300,6 @@ namespace __gnu_debug ...@@ -300,7 +300,6 @@ namespace __gnu_debug
_M_variant._M_iterator._M_address = std::__addressof(__it); _M_variant._M_iterator._M_address = std::__addressof(__it);
_M_variant._M_iterator._M_type = _GLIBCXX_TYPEID(_Iterator); _M_variant._M_iterator._M_type = _GLIBCXX_TYPEID(_Iterator);
_M_variant._M_iterator._M_constness = _M_variant._M_iterator._M_constness =
_M_variant._M_iterator._M_constness =
__it._S_constant() ? __const_iterator : __mutable_iterator; __it._S_constant() ? __const_iterator : __mutable_iterator;
_M_variant._M_iterator._M_sequence = __it._M_get_sequence(); _M_variant._M_iterator._M_sequence = __it._M_get_sequence();
_M_variant._M_iterator._M_seq_type = _GLIBCXX_TYPEID(_Sequence); _M_variant._M_iterator._M_seq_type = _GLIBCXX_TYPEID(_Sequence);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment