]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2088] Put test in anonymous namespace
authorMukund Sivaraman <muks@isc.org>
Mon, 9 Jul 2012 02:12:32 +0000 (07:42 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 9 Jul 2012 02:12:32 +0000 (07:42 +0530)
src/lib/util/tests/memory_segment_local_unittest.cc

index 95736cf2e6c1719c386bf29844fd3242644f7949..94b2e672199d913fd3f2b205b7097711b2e960bc 100644 (file)
@@ -17,9 +17,9 @@
 #include <memory>
 
 using namespace std;
+using namespace isc::util;
 
-namespace isc {
-namespace util {
+namespace {
 
 TEST(MemorySegmentLocal, TestLocal) {
     auto_ptr<MemorySegment> segment(new MemorySegmentLocal());
@@ -52,5 +52,4 @@ TEST(MemorySegmentLocal, TestLocal) {
     EXPECT_TRUE(segment->allMemoryDeallocated());
 }
 
-} // namespace util
-} // namespace isc
+} // anonymous namespace