formatting
[libcds.git] / test / stress / map / insdel_string / map_insdel_string.cpp
index a0826be28a2b6089045c1faa127f414c551cbca7..e1a422efebc248ed35b35d72133fa2386e0fc8e2 100644 (file)
@@ -178,6 +178,14 @@ namespace map {
 
 #endif
 
-
+#ifdef CDSTEST_GTEST_INSTANTIATE_TEST_CASE_P_HAS_4TH_ARG
+    static std::string get_test_parameter_name( testing::TestParamInfo<size_t> const& p )
+    {
+        return std::to_string( p.param );
+    }
+    INSTANTIATE_TEST_CASE_P( a, Map_InsDel_string_LF, ::testing::ValuesIn( Map_InsDel_string::get_load_factors()), get_test_parameter_name );
+#else
     INSTANTIATE_TEST_CASE_P( a, Map_InsDel_string_LF, ::testing::ValuesIn( Map_InsDel_string::get_load_factors()));
+#endif
+
 } // namespace map