mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
ts: don't pass NULL for std::string() constructor
This commit is contained in:
parent
4e0d2a3e6c
commit
af0c930e77
@ -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…
Reference in New Issue
Block a user