mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 15:04:44 +01:00
Add util/types.h with ALWAYS_FALSE template
This commit is contained in:
parent
498b323425
commit
bddae7e7ff
2 changed files with 12 additions and 0 deletions
|
@ -268,6 +268,7 @@ BITCOIN_CORE_H = \
|
|||
util/tokenpipe.h \
|
||||
util/trace.h \
|
||||
util/translation.h \
|
||||
util/types.h \
|
||||
util/ui_change_type.h \
|
||||
util/url.h \
|
||||
util/vector.h \
|
||||
|
|
11
src/util/types.h
Normal file
11
src/util/types.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
// Copyright (c) 2021 The Bitcoin Core developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_UTIL_TYPES_H
|
||||
#define BITCOIN_UTIL_TYPES_H
|
||||
|
||||
template <class>
|
||||
inline constexpr bool ALWAYS_FALSE{false};
|
||||
|
||||
#endif // BITCOIN_UTIL_TYPES_H
|
Loading…
Add table
Reference in a new issue