[PATCH] libstdc++: Fix parameter name in map/set printer num_children
Tom Tromey
tromey@adacore.com
Mon Jul 27 18:34:59 GMT 2026
>>>>> "david" == david faure <david.faure@kdab.com> writes:
David> StdMapPrinter.num_children and StdSetPrinter.num_children name their
David> parameter 'slf' but refer to 'self' in the body, so any call raises
David> "NameError: name 'self' is not defined".
Thanks, FWIW this looks good to me; and though I can't speak for GCC, at
least in gdb this would be considered obvious. Also, sorry about the
breakage.
Tom
More information about the Libstdc++
mailing list