mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 04:04:45 +02:00
Suppress strncpy copy warnings on MSVC
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user