mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-24 13:39:24 +00:00
Moved leak detector to its own file
This commit is contained in:
parent
9c318af987
commit
4332b84c9b
5 changed files with 56 additions and 23 deletions
|
@ -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() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue