Fix MSVC /analyze warning about inconsistent annotations

This commit is contained in:
Martin Hořeňovský 2017-02-10 17:12:41 +01:00
parent ab44fb6811
commit f75a511b5c

View File

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