aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-12-09 14:55:01 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-01-05 11:22:31 +0100
commitfa87f8feb76da42eeb5c4d32ee7be070b2bd559f (patch)
tree73ca4d271c3a68cde280d8df8f17e7d0ea93391a /src/test/fuzz
parentd84f736ba185a185c21b49a949e26b0833e5cc54 (diff)
downloadbitcoin-fa87f8feb76da42eeb5c4d32ee7be070b2bd559f.tar.xz
doc: Clarify C++20 comments
Diffstat (limited to 'src/test/fuzz')
-rw-r--r--src/test/fuzz/fuzz.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/fuzz.cpp b/src/test/fuzz/fuzz.cpp
index 5245b4607b..6de480ff15 100644
--- a/src/test/fuzz/fuzz.cpp
+++ b/src/test/fuzz/fuzz.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) 2009-2022 The Bitcoin Core developers
+// Copyright (c) 2009-present The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -71,7 +71,7 @@ auto& FuzzTargets()
void FuzzFrameworkRegisterTarget(std::string_view name, TypeTestOneInput target, FuzzTargetOptions opts)
{
- const auto it_ins{FuzzTargets().try_emplace(name, FuzzTarget /* temporary can be dropped in C++20 */ {std::move(target), std::move(opts)})};
+ const auto it_ins{FuzzTargets().try_emplace(name, FuzzTarget /* temporary can be dropped after clang-16 */ {std::move(target), std::move(opts)})};
Assert(it_ins.second);
}