Skip to content

Commit fa971c0

Browse files
author
MarcoFalke
committed
Export assert from util/check.h
This avoids having to include both headers when assert and Assert are used at the same time.
1 parent 930bcfd commit fa971c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/util/check.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <attributes.h>
99

10+
#include <cassert> // IWYU pragma: export
1011
#include <stdexcept>
1112
#include <string>
1213
#include <string_view>

src/wallet/test/fuzz/notifications.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
#include <test/fuzz/fuzz.h>
88
#include <test/fuzz/util.h>
99
#include <test/util/setup_common.h>
10+
#include <util/check.h>
1011
#include <util/translation.h>
1112
#include <wallet/context.h>
1213
#include <wallet/receive.h>
1314
#include <wallet/wallet.h>
1415
#include <wallet/walletdb.h>
1516
#include <wallet/walletutil.h>
1617

17-
#include <cassert>
1818
#include <cstdint>
1919
#include <string>
2020
#include <vector>

0 commit comments

Comments
 (0)