diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-12 05:51:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-12 05:51:26 +0200 |
commit | 5773833af8d8644bb59e664fe068c93b825974e3 (patch) | |
tree | 727b5ed1d39b1ef5fb021395dcc3330dedb7bd0d /libbuild2/algorithm.hxx | |
parent | c027dfcdfccd1e5f581649ebf176b091081fa21d (diff) |
Hack around GCC 13 -Wdangling-reference false positives
See GCC bugs 107532, 110213.
Diffstat (limited to 'libbuild2/algorithm.hxx')
-rw-r--r-- | libbuild2/algorithm.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx index 216ec4b..8bdf737 100644 --- a/libbuild2/algorithm.hxx +++ b/libbuild2/algorithm.hxx @@ -164,7 +164,7 @@ namespace build2 // argument. // LIBBUILD2_SYMEXPORT const target& - search (const target&, name, const scope&, const target_type* = nullptr); + search (const target&, name&&, const scope&, const target_type* = nullptr); // Note: returns NULL for unknown target types. Note that unlike the above // version, these ones can be called during the load and execute phases. |