summaryrefslogtreecommitdiffstats
path: root/src/lib/cryptolink
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/cryptolink
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/cryptolink')
-rw-r--r--src/lib/cryptolink/tests/crypto_unittests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cryptolink/tests/crypto_unittests.cc b/src/lib/cryptolink/tests/crypto_unittests.cc
index df94c1283b..c8fe9c6d81 100644
--- a/src/lib/cryptolink/tests/crypto_unittests.cc
+++ b/src/lib/cryptolink/tests/crypto_unittests.cc
@@ -31,7 +31,7 @@
#include <boost/shared_ptr.hpp>
-using namespace boost;
+using boost::lexical_cast;
using namespace isc::util;
using namespace isc::util::encode;
using namespace isc::cryptolink;