diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-07-01 01:23:02 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-07-07 20:01:01 +0100 |
commit | 630c1711b47ce50805f4dd2883777a100f7e5339 (patch) | |
tree | 5ef24c1e0014e579d31b5c86cb9436c880f7764d /src/util | |
parent | 88ec5d40dcf5d9f95217b123b48203b2f334c0a1 (diff) | |
download | bitcoin-630c1711b47ce50805f4dd2883777a100f7e5339.tar.xz |
refactor: Drop no longer needed `util/designator.h`
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/designator.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/util/designator.h b/src/util/designator.h deleted file mode 100644 index 3670b11e00..0000000000 --- a/src/util/designator.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2022 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_DESIGNATOR_H -#define BITCOIN_UTIL_DESIGNATOR_H - -/** - * Designated initializers can be used to avoid ordering mishaps in aggregate - * initialization. However, they do not prevent uninitialized members. The - * checks can be disabled by defining DISABLE_DESIGNATED_INITIALIZER_ERRORS. - * This should only be needed on MSVC 2019. MSVC 2022 supports them with the - * option "/std:c++20" - */ -#ifndef DISABLE_DESIGNATED_INITIALIZER_ERRORS -#define Desig(field_name) .field_name = -#else -#define Desig(field_name) -#endif - -#endif // BITCOIN_UTIL_DESIGNATOR_H |