From 7b1f49d30477effbd93f896b31ee025d2eb567ff Mon Sep 17 00:00:00 2001 From: ado Date: Sat, 29 Jul 2023 00:49:06 +0200 Subject: [PATCH] Add _CRT_SECURE_NO_WARNINGS define to remove msvc warnings --- include/ss/common.hpp | 2 -- include/ss/type_traits.hpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ss/common.hpp b/include/ss/common.hpp index 7546d16..f8563dc 100644 --- a/include/ss/common.hpp +++ b/include/ss/common.hpp @@ -4,8 +4,6 @@ #include #include -#define _CRT_SECURE_NO_WARNINGS - namespace ss { struct none {}; diff --git a/include/ss/type_traits.hpp b/include/ss/type_traits.hpp index 294b8bb..f973781 100644 --- a/include/ss/type_traits.hpp +++ b/include/ss/type_traits.hpp @@ -1,5 +1,7 @@ #pragma once +#define _CRT_SECURE_NO_WARNINGS + #include #include