diff --git a/src/dsr/model/dsr-option-header.h b/src/dsr/model/dsr-option-header.h index b1be00246..19d8fb474 100644 --- a/src/dsr/model/dsr-option-header.h +++ b/src/dsr/model/dsr-option-header.h @@ -1335,7 +1335,7 @@ class DsrOptionAckHeader : public DsrOptionHeader Ipv4Address m_realDstAddress; }; -static inline std::ostream& +[[maybe_unused]] static inline std::ostream& operator<<(std::ostream& os, const DsrOptionSRHeader& sr) { sr.Print(os);