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 committed 2024-12-19 13:46:43 +01:00
1 parent fac3a782ea
commit facc4f120b
3 files changed
+3 -6

No files matched your search

+1 -1
View File
@@ -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,
+1 -3
View File
@@ -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;
+1 -2
View File
@@ -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: