From be79f320440993ee4a9f504e3c623315f88a1102 Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 26 Jul 2016 20:37:17 +0300 Subject: [PATCH] Suppressed false-positive CppCheck warnings --- test/stress/map/insdel_func/map_insdel_func.h | 1 + test/stress/set/insdel_func/set_insdel_func.h | 1 + 2 files changed, 2 insertions(+) diff --git a/test/stress/map/insdel_func/map_insdel_func.h b/test/stress/map/insdel_func/map_insdel_func.h index 1e3daeef..ab963779 100644 --- a/test/stress/map/insdel_func/map_insdel_func.h +++ b/test/stress/map/insdel_func/map_insdel_func.h @@ -83,6 +83,7 @@ namespace map { {} // boost::container::flat_map requires operator = + // cppcheck-suppress operatorEqVarError value_type& operator=( value_type const& v ) { nKey = v.nKey; diff --git a/test/stress/set/insdel_func/set_insdel_func.h b/test/stress/set/insdel_func/set_insdel_func.h index 081bf7a2..836c34bf 100644 --- a/test/stress/set/insdel_func/set_insdel_func.h +++ b/test/stress/set/insdel_func/set_insdel_func.h @@ -85,6 +85,7 @@ namespace set { {} // boost::container::flat_map requires operator = + // cppcheck-suppress operatorEqVarError value& operator=( value const& v ) { nKey = v.nKey; -- 2.34.1