mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
refactor: Replace fwd-decl with proper include
This is fine, because the span.h include is lightweight and a proper include will be needed anyway when switching to std::span.
This commit is contained in:
parent
fac3a782ea
commit
facc4f120b
3 changed files with 3 additions and 6 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include <attributes.h>
|
||||
#include <script/script.h>
|
||||
#include <span.h>
|
||||
|
||||
#include <string>
|
||||
#include <optional>
|
||||
|
@ -17,7 +18,6 @@
|
|||
#include <vector>
|
||||
|
||||
class CPubKey;
|
||||
template <typename C> class Span;
|
||||
|
||||
enum class TxoutType {
|
||||
NONSTANDARD,
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <netaddress.h>
|
||||
#include <node/connection_types.h>
|
||||
#include <node/eviction.h>
|
||||
#include <span.h>
|
||||
#include <sync.h>
|
||||
#include <util/sock.h>
|
||||
|
||||
|
@ -28,9 +29,6 @@
|
|||
|
||||
class FastRandomContext;
|
||||
|
||||
template <typename C>
|
||||
class Span;
|
||||
|
||||
struct ConnmanTestMsg : public CConnman {
|
||||
using CConnman::CConnman;
|
||||
|
||||
|
|
|
@ -8,13 +8,12 @@
|
|||
#include <crypto/common.h>
|
||||
#include <crypto/siphash.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <span.h>
|
||||
#include <uint256.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
template <typename C> class Span;
|
||||
|
||||
class SaltedTxidHasher
|
||||
{
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue