]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3920] Removed redundant data_ declaration from derived Pkt4 class
authorFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 14:01:45 +0000 (16:01 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Jun 2015 14:01:45 +0000 (16:01 +0200)
src/lib/dhcp/pkt4.h

index 8441038285e2ca6c470b72024251987aa2a2e8e5..549be78da8b4dd096e9de192036a5379af280006 100644 (file)
@@ -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<uint8_t> data_;
-
 private:
 
     /// @brief Generic method that validates and sets HW address.