]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Rely on copy elision in scope-exit.h
authorTom Tromey <tom@tromey.com>
Sun, 15 Oct 2023 19:33:45 +0000 (13:33 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 29 Nov 2023 21:29:44 +0000 (14:29 -0700)
commitcc87f13181d12a7844e1988fe2d27ead4150d263
tree04325fa8817f87e1c2ac7249f88c332ede4a7eb3
parent553b78748fd19cd5832989f3c2817c6ced4f503b
Rely on copy elision in scope-exit.h

gdbsupport/scope-exit.h has a couple of comments about being able to
rely on copy elision in C++17.  This patch makes the change.

Approved-By: Pedro Alves <pedro@palves.net>
gdbsupport/scope-exit.h