]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Disable MSVC warning C4800.
authorMatt Schatz <genius3000@g3k.solutions>
Tue, 14 Apr 2020 13:31:02 +0000 (07:31 -0600)
committerMatt Schatz <genius3000@g3k.solutions>
Tue, 21 Apr 2020 06:28:12 +0000 (00:28 -0600)
win/inspircd_win32wrapper.h

index 444ff75260fbceca6035441d2a62235a91aa6bee..7ce23f7a7c1f7d7f4acd75e942e46614f55c9226 100644 (file)
@@ -132,6 +132,9 @@ typedef SSIZE_T ssize_t;
 // warning C4706: assignment within conditional expression
 #pragma warning(disable:4706)
 
+// warning C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
+#pragma warning(disable:4800)
+
 /* Shared memory allocation functions */
 void * ::operator new(size_t iSize);
 void ::operator delete(void * ptr);