Added leak detectors on newer objects

This commit is contained in:
Paul Ferrand 2019-12-23 13:58:42 +01:00
parent 68dfadb09e
commit 13f9baed33
2 changed files with 4 additions and 0 deletions

View file

@ -65,6 +65,8 @@ struct FilePromise
Oversampling oversamplingFactor { config::defaultOversamplingFactor };
std::atomic_size_t availableFrames { 0 };
std::atomic<bool> dataReady { false };
LEAK_DETECTOR(FilePromise);
};
using FilePromisePtr = std::shared_ptr<FilePromise>;

View file

@ -64,6 +64,8 @@ public:
private:
Oversampling factor;
size_t chunkSize;
LEAK_DETECTOR(Oversampler);
};
}