Commit 4540ef78 by Jonathan Wakely

libstdc++: Fix regression in libstdc++-prettyprinters/cxx20.cc

	* python/libstdcxx/v6/printers.py (StdCmpCatPrinter.to_string): Update
	value for partial_ordering::unordered.
parent d6dfa3da
2020-02-17 Jonathan Wakely <jwakely@redhat.com>
* python/libstdcxx/v6/printers.py (StdCmpCatPrinter.to_string): Update
value for partial_ordering::unordered.
* include/bits/iterator_concepts.h (indirectly_copyable_storable): Add
const-qualified expression variations.
* include/std/concepts (copyable): Likewise.
......
......@@ -1435,7 +1435,7 @@ class StdCmpCatPrinter:
if self.typename == 'strong_ordering' and self.val == 0:
name = 'equal'
else:
names = {-127:'unordered', -1:'less', 0:'equivalent', 1:'greater'}
names = {2:'unordered', -1:'less', 0:'equivalent', 1:'greater'}
name = names[int(self.val)]
return 'std::{}::{}'.format(self.typename, name)
......
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