You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
details::LogMessagePart(type, format, std::forward<Args>(args)...);
93
+
details::LogMessagePart(type, format, args...);
94
94
tcout << std::endl;
95
95
}
96
96
@@ -246,7 +246,9 @@ class TestClass
246
246
}
247
247
catch (const std::exception &ex)
248
248
{
249
-
LogMessage(LogMessageType::Error, TEXT("Unexpected exception of type {}: {}"), get_type_name<tchar_t>(typeid(ex)), string_convert<tchar_t>::from_bytes(ex.what()));
249
+
auto type = get_type_name<tchar_t>(typeid(ex));
250
+
auto what = string_convert<tchar_t>::from_bytes(ex.what());
251
+
LogMessage(LogMessageType::Error, TEXT("Unexpected exception of type {}: {}"), type, what);
250
252
}
251
253
catch (...)
252
254
{
@@ -348,22 +350,26 @@ namespace details
348
350
#defineOOKII_TEST_THROW_FAILED_IF(condition) if (condition) { OOKII_TEST_THROW_FAILED(); }
349
351
350
352
template<typename... Args>
351
-
voidLogVerify(const VerifyInfo &info, bool success, std::basic_string_view<tchar_t> format, Args... args)
353
+
voidLogVerify(const VerifyInfo &info, bool success, std::basic_string_view<tchar_t> format, Args&... args)
0 commit comments