From eb7cc675a6bc301e94da70fb26a4a1d4761fc46d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 16 Dec 2012 14:39:54 -0800 Subject: [PATCH] Disable "secure" warnings, take 2. --- format_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/format_test.cc b/format_test.cc index dc46f432..34757456 100644 --- a/format_test.cc +++ b/format_test.cc @@ -25,6 +25,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +// Disable useless MSVC warnings. +#define _CRT_SECURE_NO_WARNINGS + #include #include #include @@ -41,9 +44,6 @@ using fmt::Formatter; using fmt::Format; using fmt::FormatError; -// Disable useless MSVC warnings. -#define _CRT_SECURE_NO_WARNINGS - #define FORMAT_TEST_THROW_(statement, expected_exception, message, fail) \ GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ if (::testing::internal::ConstCharPtr gtest_msg = "") { \