From: khizmax Date: Thu, 23 Jun 2016 06:07:14 +0000 (+0300) Subject: Fixed CppCheck warnings X-Git-Tag: v2.2.0~199 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e403594cf557ab4bbf233c955fe5acc8e8a2a1d3;p=libcds.git Fixed CppCheck warnings --- diff --git a/test/stress/map/find_int/map_find_int.h b/test/stress/map/find_int/map_find_int.h index f54c308f..56d0b62c 100644 --- a/test/stress/map/find_int/map_find_int.h +++ b/test/stress/map/find_int/map_find_int.h @@ -98,11 +98,15 @@ namespace map { Worker( cds_test::thread_pool& pool, Map& map ) : base_class( pool ) , m_Map( map ) + , m_KeyExists() + , m_KeyNotExists() {} Worker( Worker& src ) : base_class( src ) , m_Map( src.m_Map ) + , m_KeyExists() + , m_KeyNotExists() {} virtual thread * clone() diff --git a/test/stress/map/find_string/map_find_string.h b/test/stress/map/find_string/map_find_string.h index 52e25619..3aa9ac6a 100644 --- a/test/stress/map/find_string/map_find_string.h +++ b/test/stress/map/find_string/map_find_string.h @@ -97,11 +97,15 @@ namespace map { Worker( cds_test::thread_pool& pool, Map& map ) : base_class( pool ) , m_Map( map ) + , m_KeyExists() + , m_KeyNotExists() {} Worker( Worker& src ) : base_class( src ) , m_Map( src.m_Map ) + , m_KeyExists() + , m_KeyNotExists() {} virtual thread * clone()