Fixed code analysis warning C28251.

This commit is contained in:
Tommy Nguyen 2015-07-04 20:13:18 +02:00
parent d2642325ae
commit 725d83e37d

View File

@ -82,7 +82,7 @@
#endif // Platform
#ifdef CATCH_PLATFORM_WINDOWS
extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( const char* );
extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( _In_opt_ const char* );
namespace Catch {
void writeToDebugConsole( std::string const& text ) {
::OutputDebugStringA( text.c_str() );