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

This commit is contained in:
Alexander Alekhin 2018-08-28 14:19:56 +03:00
parent 4e0d2a3e6c
commit af0c930e77

View File

@ -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