Skip to content

Commit 3064790

Browse files
committed
chore: adujst util/expected.h from our linters
1 parent 7f66e6f commit 3064790

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/util/expected.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#if (__cplusplus > 201103L) && !defined(TL_EXPECTED_GCC49)
5757
#include <cassert>
5858
#define TL_ASSERT(x) assert(x)
59-
#else
59+
#else
6060
#define TL_ASSERT(x)
6161
#endif
6262
#endif
@@ -627,9 +627,9 @@ template <class E> struct expected_storage_base<void, E, false, true> {
627627
//no constexpr for GCC 4/5 bug
628628
#else
629629
TL_EXPECTED_MSVC2015_CONSTEXPR
630-
#endif
630+
#endif
631631
expected_storage_base() : m_has_val(true) {}
632-
632+
633633
constexpr expected_storage_base(no_init_t) : m_val(), m_has_val(false) {}
634634

635635
constexpr expected_storage_base(in_place_t) : m_has_val(true) {}

test/lint/lint-include-guards.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export LC_ALL=C
1010
HEADER_ID_PREFIX="BITCOIN_"
1111
HEADER_ID_SUFFIX="_H"
1212

13-
REGEXP_EXCLUDE_FILES_WITH_PREFIX="src/(crypto/ctaes/|dashbls/|immer/|leveldb/|crc32c/|secp256k1/|test/fuzz/FuzzedDataProvider.h|tinyformat.h|bench/nanobench.h|univalue/|ctpl_stl.h|bls/|crypto/sph|gsl)"
13+
REGEXP_EXCLUDE_FILES_WITH_PREFIX="src/(crypto/ctaes/|dashbls/|immer/|leveldb/|crc32c/|secp256k1/|test/fuzz/FuzzedDataProvider.h|tinyformat.h|bench/nanobench.h|univalue/|ctpl_stl.h|bls/|crypto/sph|gsl|util/expected.h)"
1414

1515
EXIT_CODE=0
1616
for HEADER_FILE in $(git ls-files -- "*.h" | grep -vE "^${REGEXP_EXCLUDE_FILES_WITH_PREFIX}")

0 commit comments

Comments
 (0)