Fixed CppCheck warnings
[libcds.git] / test / stress / map / find_string / map_find_string.h
index 056c2cb0a77f0b6e711c37daf353e75a60925650..52e2561943499e434f9b441011794542cd7718bf 100644 (file)
@@ -25,7 +25,7 @@
     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
     OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     
+    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
 #include "map_type.h"
@@ -201,6 +201,12 @@ namespace map {
                 EXPECT_EQ( w.m_KeyNotExists.nFailed, 0 ) << "thread " << i;
             }
 
+            propout()
+                << std::make_pair( "exist_found", nExistSuccess )
+                << std::make_pair( "exist_not_found", nExistFailed )  // must = 0
+                << std::make_pair( "missing_not_found", nMissingSuccess )
+                << std::make_pair( "missing_found", nMissingFailed );  // must = 0
+
             check_before_cleanup( testMap );
 
             testMap.clear();