Skip to content

Commit c5dff26

Browse files
committed
QUIC: fix: forward-declare Indication in AppSocket.h (#1107)
AppSocket.h uses inet::Indication only through pointers (sendIndication, std::list<Indication*>) but did not name it, relying on a deep transitive include chain. This broke on some configurations. Add a forward declaration in the inet namespace.
1 parent 9d9bb5d commit c5dff26

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/inet/transportlayer/quic/AppSocket.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "Quic.h"
1414

1515
namespace inet {
16+
class Indication; // inet::Indication (used only via pointer below)
1617
namespace quic {
1718

1819
// Forward declarations:

0 commit comments

Comments
 (0)