From: Razvan Becheriu Date: Mon, 28 Oct 2019 13:33:47 +0000 (+0200) Subject: [#883, !506] fixed rebase X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1493ae2dddc085e62087fdf6e4b02e65bb48a72;p=thirdparty%2Fkea.git [#883, !506] fixed rebase --- 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 { };