From b922daa3c078232cb5d258f97ab7d244cbfc6eff Mon Sep 17 00:00:00 2001 From: Tommaso Pecorella Date: Fri, 30 Apr 2021 19:08:28 +0200 Subject: [PATCH] olsr: fix doxygen warnings --- src/olsr/helper/olsr-helper.h | 4 +++- src/olsr/model/olsr-routing-protocol.h | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/olsr/helper/olsr-helper.h b/src/olsr/helper/olsr-helper.h index 0c2673964..0464ae586 100644 --- a/src/olsr/helper/olsr-helper.h +++ b/src/olsr/helper/olsr-helper.h @@ -49,8 +49,10 @@ public: /** * \brief Construct an OlsrHelper from another previously initialized instance * (Copy Constructor). + * + * \param o object to copy */ - OlsrHelper (const OlsrHelper &); + OlsrHelper (const OlsrHelper &o); /** * \returns pointer to clone of this OlsrHelper diff --git a/src/olsr/model/olsr-routing-protocol.h b/src/olsr/model/olsr-routing-protocol.h index 6dc497a2e..8edab1c1e 100644 --- a/src/olsr/model/olsr-routing-protocol.h +++ b/src/olsr/model/olsr-routing-protocol.h @@ -351,6 +351,11 @@ public: LocalDeliverCallback lcb, ErrorCallback ecb); virtual void SetIpv4 (Ptr ipv4); + + /** + * \returns the ipv4 object this routing protocol is associated with + */ + NS_DEPRECATED_3_34 virtual Ptr GetIpv4 (void) const; virtual void PrintRoutingTable (Ptr stream, Time::Unit unit = Time::S) const;