Moved leak detector to its own file

This commit is contained in:
Martin Hořeňovský 2017-07-12 14:47:36 +02:00
parent 9c318af987
commit 4332b84c9b
5 changed files with 56 additions and 23 deletions

View file

@ -21,6 +21,8 @@
#include "catch_reporter_registrars.hpp"
//
#include "internal/catch_leak_detector.h"
#include "../catch_session.hpp"
#include "catch_stream.hpp"
@ -31,6 +33,8 @@
// ~*~* CATCH_CPP_STITCH_PLACE *~*~
namespace Catch {
LeakDetector leakDetector;
// These are all here to avoid warnings about not having any out of line
// virtual methods
NonCopyable::~NonCopyable() {}