ts: don't pass NULL for std::string() constructor

pull/12326/head
Alexander Alekhin 7 years ago
parent 4e0d2a3e6c
commit af0c930e77
  1. 8
      modules/ts/src/ts.cpp

@ -921,6 +921,14 @@ inline static void recordPropertyVerbose(const std::string & property,
}
}
inline static void recordPropertyVerbose(const std::string& property, const std::string& msg,
const char* value, const char* build_value = NULL)
{
return recordPropertyVerbose(property, msg,
value ? std::string(value) : std::string(),
build_value ? std::string(build_value) : std::string());
}
#ifdef _DEBUG
#define CV_TEST_BUILD_CONFIG "Debug"
#else

Loading…
Cancel
Save