From 234fcf00f9cf9c0c959516e8e3379b43bde03d88 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Fri, 29 Feb 2008 15:18:31 +0000 Subject: networp prefix --- networkPrefix.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'networkPrefix.h') diff --git a/networkPrefix.h b/networkPrefix.h index c4b589c..fac1b08 100644 --- a/networkPrefix.h +++ b/networkPrefix.h @@ -43,11 +43,14 @@ class NetworkPrefix : public NetworkAddress public: NetworkPrefix(); NetworkPrefix(const NetworkAddress &); + NetworkPrefix(const NetworkPrefix &); void setNetworkPrefixLength(uint8_t length ); uint8_t getNetworkPrefixLength(); bool operator<(const NetworkPrefix &s) const; private: + operator NetworkAddress(); + void operator=(const NetworkPrefix &s); uint8_t length_; friend class boost::serialization::access; template -- cgit v1.2.3