From d1493ae2dddc085e62087fdf6e4b02e65bb48a72 Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Mon, 28 Oct 2019 15:33:47 +0200 Subject: [PATCH] [#883, !506] fixed rebase --- src/lib/util/lock_guard.h | 2 -- src/lib/util/tests/lock_guard_unittest.cc | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/util/lock_guard.h b/src/lib/util/lock_guard.h index 8957f0d6c4..de919ab5f7 100644 --- a/src/lib/util/lock_guard.h +++ b/src/lib/util/lock_guard.h @@ -11,7 +11,6 @@ namespace isc { namespace util { -namespace thread { template class LockGuard { @@ -38,7 +37,6 @@ private: Lock* lk_; }; -} // namespace thread } // namespace util } // namespace isc diff --git a/src/lib/util/tests/lock_guard_unittest.cc b/src/lib/util/tests/lock_guard_unittest.cc index 617cca7ff1..425a5b440b 100644 --- a/src/lib/util/tests/lock_guard_unittest.cc +++ b/src/lib/util/tests/lock_guard_unittest.cc @@ -11,8 +11,6 @@ #include #include -#include - #include #include #include @@ -20,7 +18,6 @@ #include using namespace isc::util; -using namespace isc::util::thread; using namespace std; namespace { @@ -161,7 +158,7 @@ private: std::thread::id id_; }; -/// @brief Test Fixture for testing isc::util::thread::LockGuard +/// @brief Test Fixture for testing isc::util::LockGuard class LockGuardTest : public ::testing::Test { }; -- 2.47.2