From: Francis Dupont Date: Wed, 24 Jun 2015 14:01:45 +0000 (+0200) Subject: [3920] Removed redundant data_ declaration from derived Pkt4 class X-Git-Tag: trac3915a_base~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e5c658d8df59dc1f0e2ffb025f4e809f00830d9;p=thirdparty%2Fkea.git [3920] Removed redundant data_ declaration from derived Pkt4 class --- diff --git a/src/lib/dhcp/pkt4.h b/src/lib/dhcp/pkt4.h index 8441038285..549be78da8 100644 --- a/src/lib/dhcp/pkt4.h +++ b/src/lib/dhcp/pkt4.h @@ -366,24 +366,6 @@ public: /// (true) or non-relayed (false). bool isRelayed() const; - /// @brief That's the data of input buffer used in RX packet. - /// - /// @note Note that InputBuffer does not store the data itself, but just - /// expects that data will be valid for the whole life of InputBuffer. - /// Therefore we need to keep the data around. - /// - /// @warning This public member is accessed by derived - /// classes directly. One of such derived classes is - /// @ref perfdhcp::PerfPkt4. The impact on derived clasess' - /// behavior must be taken into consideration before making - /// changes to this member such as access scope restriction or - /// data format change etc. This field is also public, because - /// it may be modified by callouts (which are written in C++ now, - /// but we expect to also have them in Python, so any accesibility - /// methods would overly complicate things here and degrade - /// performance). - std::vector data_; - private: /// @brief Generic method that validates and sets HW address.