diff options
| author | Phil Nash | 2017-08-14 12:12:28 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-08-14 12:12:28 +0100 |
| commit | 7be258536ed8b90c307947d11852660666b2f811 (patch) | |
| tree | 0d24aa704b23094132aeb90a4ba10c99838aced1 /include/internal/catch_stringref.cpp | |
| parent | 94d347b05939385a827499932f7b02ce7ccc9c45 (diff) | |
| download | catch3-7be258536ed8b90c307947d11852660666b2f811.tar.gz | |
Suppress strncpy copy warnings on MSVC
Diffstat (limited to 'include/internal/catch_stringref.cpp')
| -rw-r--r-- | include/internal/catch_stringref.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/catch_stringref.cpp b/include/internal/catch_stringref.cpp index a6389bd4..f6a1fc2a 100644 --- a/include/internal/catch_stringref.cpp +++ b/include/internal/catch_stringref.cpp @@ -11,6 +11,8 @@ #include <ostream> #include <cassert> +#define _CRT_SECURE_NO_WARNINGS // Suppress warnings from MSVC about strncpy not being secure + namespace Catch { auto getEmptyStringRef() -> StringRef { |