Skip to content

Commit 718ae23

Browse files
authored
Fix include: Add <ostream> include to "Layer.h". (#2100)
std::ostream is used in the overload for operator<<(ostream, Layer). That will fail compilation if ostream is not defined.
1 parent 0b83e76 commit 718ae23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Packet++/header/Layer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <stdint.h>
44
#include <stdio.h>
55
#include "ProtocolType.h"
6+
#include <ostream>
67
#include <string>
78
#include <stdexcept>
89
#include <utility>

0 commit comments

Comments
 (0)