From f1607d67c44f7318401c388a6c4ee3558ed3a8b5 Mon Sep 17 00:00:00 2001 From: khizmax Date: Thu, 2 Oct 2014 00:02:19 +0400 Subject: [PATCH] Replace deprecated cds::lock::scoped_lock with std::unique_lock --- cds/intrusive/striped_set/striping_policy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cds/intrusive/striped_set/striping_policy.h b/cds/intrusive/striped_set/striping_policy.h index a70858b9..46333d64 100644 --- a/cds/intrusive/striped_set/striping_policy.h +++ b/cds/intrusive/striped_set/striping_policy.h @@ -46,7 +46,7 @@ namespace cds { namespace intrusive { namespace striped_set { public: //@cond class scoped_cell_lock { - cds::lock::scoped_lock< lock_array_type > m_guard; + std::unique_lock< lock_array_type > m_guard; public: scoped_cell_lock( striping& policy, size_t nHash ) @@ -55,7 +55,7 @@ namespace cds { namespace intrusive { namespace striped_set { }; class scoped_full_lock { - cds::lock::scoped_lock< lock_array_type > m_guard; + std::unique_lock< lock_array_type > m_guard; public: scoped_full_lock( striping& policy ) : m_guard( policy.m_Locks ) -- 2.34.1