Parcourir la source

Fix lexical cast

(missing boost::)

Reviewed on jabber.
Michal 'vorner' Vaner il y a 13 ans
Parent
commit
09e8c50958
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/lib/dns/rdata/generic/afsdb_18.cc

+ 3 - 1
src/lib/dns/rdata/generic/afsdb_18.cc

@@ -23,6 +23,8 @@
 #include <dns/rdata.h>
 #include <dns/rdataclass.h>
 
+#include <boost/lexical_cast.hpp>
+
 using namespace std;
 using namespace isc::util::str;
 
@@ -109,7 +111,7 @@ AFSDB::operator=(const AFSDB& source) {
 /// \return A \c string object that represents the \c AFSDB object.
 string
 AFSDB::toText() const {
-    return (lexical_cast<string>(subtype_) + " " + server_.toText());
+    return (boost::lexical_cast<string>(subtype_) + " " + server_.toText());
 }
 
 /// \brief Render the \c AFSDB in the wire format without name compression.