Browse Source

Fix lexical cast

(missing boost::)

Reviewed on jabber.
Michal 'vorner' Vaner 13 years ago
parent
commit
09e8c50958
1 changed files with 3 additions and 1 deletions
  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.