diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2010-02-18 09:15:27 +0000 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2010-02-18 09:15:27 +0000 |
commit | e191eab68d905bfe14e3590a92fa653f0ae2ebce (patch) | |
tree | a5837b067ecab92c645008b537087b0d163ef1ab /src/networkPrefix.h | |
parent | whitespace only change: unified formatting with "astyle --style=k/r --indent=... (diff) |
non-functional changes only: use standard writing of stdint.h types; still import from boost (compiler compatibility)
Diffstat (limited to 'src/networkPrefix.h')
-rw-r--r-- | src/networkPrefix.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/networkPrefix.h b/src/networkPrefix.h index 43adb8c..2c328a7 100644 --- a/src/networkPrefix.h +++ b/src/networkPrefix.h @@ -44,16 +44,16 @@ class NetworkPrefix : public NetworkAddress { public: NetworkPrefix(); - NetworkPrefix(const NetworkAddress&, u_int8_t length); + NetworkPrefix(const NetworkAddress&, uint8_t length); NetworkPrefix(const NetworkPrefix&); - void setNetworkPrefixLength(u_int8_t length); - u_int8_t getNetworkPrefixLength() const; + void setNetworkPrefixLength(uint8_t length); + uint8_t getNetworkPrefixLength() const; bool operator<(const NetworkPrefix& s) const; private: operator NetworkAddress(); void operator=(const NetworkPrefix& s); - u_int8_t length_; + uint8_t length_; friend class boost::serialization::access; template<class Archive> void serialize(Archive& ar, const unsigned int version) { |