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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
@@ -71,7 +71,7 @@ auto& FuzzTargets()
71
71
72
72
void FuzzFrameworkRegisterTarget (std::string_view name, TypeTestOneInput target, FuzzTargetOptions opts)
73
73
{
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)})};
75
75
Assert (it_ins.second );
76
76
}
77
77
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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
@@ -15,7 +15,7 @@ namespace util {
15
15
// ! https://en.cppreference.com/w/cpp/utility/variant/visit#Example
16
16
template <class ... Ts> struct Overloaded : Ts... { using Ts::operator ()...; };
17
17
18
- // ! Explicit deduction guide (not needed as of C++20 )
18
+ // ! Explicit deduction guide (not needed after clang-17 )
19
19
template <class ... Ts> Overloaded (Ts...) -> Overloaded<Ts...>;
20
20
} // namespace util
21
21
Original file line number Diff line number Diff line change 5
5
#ifndef BITCOIN_UTIL_TYPES_H
6
6
#define BITCOIN_UTIL_TYPES_H
7
7
8
+ // Not needed after C++23 (DR, https://cplusplus.github.io/CWG/issues/2518.html)
8
9
template <class >
9
10
inline constexpr bool ALWAYS_FALSE{false };
10
11
You can’t perform that action at this time.
0 commit comments