File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- // Copyright (c) 2009-2022 The Bitcoin Core developers
1+ // Copyright (c) 2009-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
@@ -71,7 +71,7 @@ auto& FuzzTargets()
7171
7272void FuzzFrameworkRegisterTarget (std::string_view name, TypeTestOneInput target, FuzzTargetOptions opts)
7373{
74- const auto it_ins{FuzzTargets ().try_emplace (name, FuzzTarget /* temporary can be dropped in C++20 */ {std::move (target), std::move (opts)})};
74+ const auto it_ins{FuzzTargets ().try_emplace (name, FuzzTarget /* temporary can be dropped after clang-16 */ {std::move (target), std::move (opts)})};
7575 Assert (it_ins.second );
7676}
7777
Original file line number Diff line number Diff line change 1- // Copyright (c) 2021 The Bitcoin Core developers
1+ // Copyright (c) 2021-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
@@ -15,7 +15,7 @@ namespace util {
1515// ! https://en.cppreference.com/w/cpp/utility/variant/visit#Example
1616template <class ... Ts> struct Overloaded : Ts... { using Ts::operator ()...; };
1717
18- // ! Explicit deduction guide (not needed as of C++20 )
18+ // ! Explicit deduction guide (not needed after clang-17 )
1919template <class ... Ts> Overloaded (Ts...) -> Overloaded<Ts...>;
2020} // namespace util
2121
Original file line number Diff line number Diff line change 55#ifndef BITCOIN_UTIL_TYPES_H
66#define BITCOIN_UTIL_TYPES_H
77
8+ // Not needed after C++23 (DR, https://cplusplus.github.io/CWG/issues/2518.html)
89template <class >
910inline constexpr bool ALWAYS_FALSE{false };
1011
You can’t perform that action at this time.
0 commit comments