summaryrefslogtreecommitdiffstats
path: root/src/lib/bench
diff options
context:
space:
mode:
authorchenzhengzhang <jerry.zzpku@gmail.com>2011-04-11 13:08:19 +0200
committerchenzhengzhang <jerry.zzpku@gmail.com>2011-04-11 13:08:19 +0200
commitf6aa7d59569e492326499898a0e3f183c8748970 (patch)
tree4dc8531b674ca544388a66b6ce0b3f3da0b94235 /src/lib/bench
parent[master] update ChangeLog revision number (diff)
downloadkea-f6aa7d59569e492326499898a0e3f183c8748970.tar.xz
kea-f6aa7d59569e492326499898a0e3f183c8748970.zip
[trac749] refactor C++ utility library
Diffstat (limited to 'src/lib/bench')
-rw-r--r--src/lib/bench/benchmark_util.cc3
-rw-r--r--src/lib/bench/tests/Makefile.am1
-rw-r--r--src/lib/bench/tests/loadquery_unittest.cc3
3 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/bench/benchmark_util.cc b/src/lib/bench/benchmark_util.cc
index ca2ca1b415..c67a851eb3 100644
--- a/src/lib/bench/benchmark_util.cc
+++ b/src/lib/bench/benchmark_util.cc
@@ -19,7 +19,7 @@
#include <exceptions/exceptions.h>
-#include <dns/buffer.h>
+#include <util/buffer.h>
#include <dns/exceptions.h>
#include <dns/name.h>
#include <dns/message.h>
@@ -35,6 +35,7 @@
using namespace std;
using namespace isc;
using namespace isc::dns;
+using namespace isc::util;
namespace isc {
namespace bench {
diff --git a/src/lib/bench/tests/Makefile.am b/src/lib/bench/tests/Makefile.am
index 63d3c87831..4259b0ef85 100644
--- a/src/lib/bench/tests/Makefile.am
+++ b/src/lib/bench/tests/Makefile.am
@@ -16,6 +16,7 @@ run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
run_unittests_LDADD = $(top_builddir)/src/lib/exceptions/libexceptions.la
run_unittests_LDADD += $(top_builddir)/src/lib/dns/libdns++.la
+run_unittests_LDADD += $(top_builddir)/src/lib/util/libutil.la
run_unittests_LDADD += $(top_builddir)/src/lib/bench/libbench.la
run_unittests_LDADD += $(GTEST_LDADD)
endif
diff --git a/src/lib/bench/tests/loadquery_unittest.cc b/src/lib/bench/tests/loadquery_unittest.cc
index a53e19151a..93130d2fc7 100644
--- a/src/lib/bench/tests/loadquery_unittest.cc
+++ b/src/lib/bench/tests/loadquery_unittest.cc
@@ -17,7 +17,7 @@
#include <vector>
#include <sstream>
-#include <dns/buffer.h>
+#include <util/buffer.h>
#include <dns/message.h>
#include <dns/name.h>
#include <dns/opcode.h>
@@ -32,6 +32,7 @@
using namespace std;
using namespace isc::bench;
using namespace isc::dns;
+using namespace isc::util;
namespace {
typedef pair<string, string> QueryParam;