summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/message.cc
diff options
context:
space:
mode:
authorJeremy C. Reed <jreed@ISC.org>2012-07-25 14:49:12 +0200
committerJeremy C. Reed <jreed@ISC.org>2012-07-25 14:49:12 +0200
commit438f31e7886d2e280fa4a35c8e06a3b0d3c2b9e0 (patch)
tree34b90c7bd916d8d2b0eac07fbade98569e89a37f /src/lib/dns/message.cc
parent[master] fix "error: reference to `map' is ambiguous" (diff)
downloadkea-438f31e7886d2e280fa4a35c8e06a3b0d3c2b9e0.tar.xz
kea-438f31e7886d2e280fa4a35c8e06a3b0d3c2b9e0.zip
[master] fix errors with ambiguous types and other boost uses
Stop doing "using namespace boost" and be specific with the using boost::. Problem noticed on Solaris 11 with g++ 4.5.2 and boost 1.50.0. Tested with older g++ 4.1.3 with boost 1.42.0 (on NetBSD). Discussed little on jabber.
Diffstat (limited to 'src/lib/dns/message.cc')
-rw-r--r--src/lib/dns/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dns/message.cc b/src/lib/dns/message.cc
index 0a1625a206..80b0df77df 100644
--- a/src/lib/dns/message.cc
+++ b/src/lib/dns/message.cc
@@ -44,7 +44,7 @@
#include <dns/tsig.h>
using namespace std;
-using namespace boost;
+using boost::lexical_cast;
using namespace isc::dns::rdata;
using namespace isc::util;