Skip to content

Commit

Permalink
Code: TABs to Spaces
Browse files Browse the repository at this point in the history
Replace TABs with four (4) spaces in source files.
  • Loading branch information
ax3l authored and horenmar committed Aug 29, 2018
1 parent 2067c8d commit 9773d89
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/internal/catch_leak_detector.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9773d89

Please sign in to comment.