From e403594cf557ab4bbf233c955fe5acc8e8a2a1d3 Mon Sep 17 00:00:00 2001 From: khizmax Date: Thu, 23 Jun 2016 09:07:14 +0300 Subject: [PATCH] Fixed CppCheck warnings --- test/stress/map/find_int/map_find_int.h | 4 ++++ test/stress/map/find_string/map_find_string.h | 4 ++++ 2 files changed, 8 insertions(+) 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() -- 2.34.1