forked from catchorg/Catch2
Fix MSVC /analyze warning about inconsistent annotations
This commit is contained in:
@@ -109,7 +109,9 @@
|
|||||||
#endif // Platform
|
#endif // Platform
|
||||||
|
|
||||||
#ifdef CATCH_PLATFORM_WINDOWS
|
#ifdef CATCH_PLATFORM_WINDOWS
|
||||||
extern "C" __declspec(dllimport) void __stdcall OutputDebugStringA( const char* );
|
|
||||||
|
#include "catch_windows_h_proxy.h"
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
void writeToDebugConsole( std::string const& text ) {
|
void writeToDebugConsole( std::string const& text ) {
|
||||||
::OutputDebugStringA( text.c_str() );
|
::OutputDebugStringA( text.c_str() );
|
||||||
|
Reference in New Issue
Block a user