mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 11:12:25 +01:00
Fixed code analysis warning C28251.
This commit is contained in:
parent
d2642325ae
commit
725d83e37d
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user