]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/build, c++20] Fix deprecated implicit capture in cooked_index::set_contents
authorTom de Vries <tdevries@suse.de>
Sun, 23 Nov 2025 08:27:56 +0000 (09:27 +0100)
committerTom de Vries <tdevries@suse.de>
Sun, 23 Nov 2025 08:27:56 +0000 (09:27 +0100)
commit777079c67c81baa082a60b36bb75778300bdcaa3
tree518b96c98769efce6749b4149ef41b4a4f87a119
parentdd40af9ca1a676b04ffe4d3ef2b48de530bc3d38
[gdb/build, c++20] Fix deprecated implicit capture in cooked_index::set_contents

Fix deprecated implicit capture of this in cooked_index::set_contents, by
removing the capture default, and explicitly listing all captures.

Tested on x86_64-linux.
gdb/dwarf2/cooked-index.c