]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Turn decode_line_2_compare_items into operator<
authorTom Tromey <tromey@adacore.com>
Mon, 4 Nov 2024 17:08:41 +0000 (10:08 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 4 Nov 2024 19:56:57 +0000 (12:56 -0700)
commitae2f3fa7581fb59ebbf80f93b7ed75f853f0ba29
tree64df805c451ed1b2a6322f09f17ec11d9e3ccf81
parent0b4c9b505757b477be5481f42ac3839a90491ad1
Turn decode_line_2_compare_items into operator<

This rewrites decode_line_2_compare_items to be an operator< on the
relevant type.  This simplifies the code a little.

Reviewed-by: Keith Seitz <keiths@redhat.com>
gdb/linespec.c