mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Suppress strncpy copy warnings on MSVC
This commit is contained in:
parent
94d347b059
commit
7be258536e
@ -11,6 +11,8 @@
|
|||||||
#include <ostream>
|
#include <ostream>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
#define _CRT_SECURE_NO_WARNINGS // Suppress warnings from MSVC about strncpy not being secure
|
||||||
|
|
||||||
namespace Catch {
|
namespace Catch {
|
||||||
|
|
||||||
auto getEmptyStringRef() -> StringRef {
|
auto getEmptyStringRef() -> StringRef {
|
||||||
|
Loading…
Reference in New Issue
Block a user