X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8bc85164acb335cf909052b966b2ee4932e06cd7..f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387:/src/xbt/xbt_str_test.cpp?ds=sidebyside diff --git a/src/xbt/xbt_str_test.cpp b/src/xbt/xbt_str_test.cpp index 81ed1aa0da..8d4a82e2ea 100644 --- a/src/xbt/xbt_str_test.cpp +++ b/src/xbt/xbt_str_test.cpp @@ -35,7 +35,7 @@ template void test_parse_error(F function, const std::string& name, template void test_parse_ok(F function, const std::string& name, const char* str, T value) { INFO(name); - T variable = static_cast(-9999); + auto variable = static_cast(-9999); REQUIRE_NOTHROW(variable = function(str, "Parse error")); REQUIRE(variable == value); /* Fail to parse str */ }