From: Peter van Dijk Date: Tue, 19 May 2015 20:49:13 +0000 (+0200) Subject: serialize dnsname X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~58^2~21^2~5^2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab7ccbba73136af4c93fec5a25ec0415a1bba96;p=thirdparty%2Fpdns.git serialize dnsname --- diff --git a/pdns/dnsname.hh b/pdns/dnsname.hh index 6c0f2437e1..62954af0eb 100644 --- a/pdns/dnsname.hh +++ b/pdns/dnsname.hh @@ -60,6 +60,11 @@ public: bool canonCompare(const DNSName& rhs) const; + template + void serialize(Archive &ar, const unsigned int version) + { + ar & d_storage; + } private: // typedef __gnu_cxx::__sso_string string_t; typedef std::string string_t;