From 9773d89ab4edb36465c874a61166175a6b4a679f Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 28 Aug 2018 16:11:04 +0200 Subject: [PATCH] Code: TABs to Spaces Replace TABs with four (4) spaces in source files. --- include/internal/catch_leak_detector.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/internal/catch_leak_detector.cpp b/include/internal/catch_leak_detector.cpp index 36aba6ab..dd160d9c 100644 --- a/include/internal/catch_leak_detector.cpp +++ b/include/internal/catch_leak_detector.cpp @@ -13,16 +13,16 @@ namespace Catch { - LeakDetector::LeakDetector() { - int flag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG); - flag |= _CRTDBG_LEAK_CHECK_DF; - flag |= _CRTDBG_ALLOC_MEM_DF; - _CrtSetDbgFlag(flag); - _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG); - _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR); - // Change this to leaking allocation's number to break there - _CrtSetBreakAlloc(-1); - } + LeakDetector::LeakDetector() { + int flag = _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG); + flag |= _CRTDBG_LEAK_CHECK_DF; + flag |= _CRTDBG_ALLOC_MEM_DF; + _CrtSetDbgFlag(flag); + _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE | _CRTDBG_MODE_DEBUG); + _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR); + // Change this to leaking allocation's number to break there + _CrtSetBreakAlloc(-1); + } } #else