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:
MarcoFalke 2024-12-17 21:34:22 +01:00
parent fac3a782ea
commit facc4f120b
No known key found for this signature in database
3 changed files with 3 additions and 6 deletions

View file

@ -10,6 +10,7 @@
#include <attributes.h> #include <attributes.h>
#include <script/script.h> #include <script/script.h>
#include <span.h>
#include <string> #include <string>
#include <optional> #include <optional>
@ -17,7 +18,6 @@
#include <vector> #include <vector>
class CPubKey; class CPubKey;
template <typename C> class Span;
enum class TxoutType { enum class TxoutType {
NONSTANDARD, NONSTANDARD,

View file

@ -12,6 +12,7 @@
#include <netaddress.h> #include <netaddress.h>
#include <node/connection_types.h> #include <node/connection_types.h>
#include <node/eviction.h> #include <node/eviction.h>
#include <span.h>
#include <sync.h> #include <sync.h>
#include <util/sock.h> #include <util/sock.h>
@ -28,9 +29,6 @@
class FastRandomContext; class FastRandomContext;
template <typename C>
class Span;
struct ConnmanTestMsg : public CConnman { struct ConnmanTestMsg : public CConnman {
using CConnman::CConnman; using CConnman::CConnman;

View file

@ -8,13 +8,12 @@
#include <crypto/common.h> #include <crypto/common.h>
#include <crypto/siphash.h> #include <crypto/siphash.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <span.h>
#include <uint256.h> #include <uint256.h>
#include <cstdint> #include <cstdint>
#include <cstring> #include <cstring>
template <typename C> class Span;
class SaltedTxidHasher class SaltedTxidHasher
{ {
private: private: