debug switch build fix

This commit is contained in:
Markus Gans 2019-05-27 01:35:32 +02:00
parent 5e436e91dc
commit 622eb7089c
1 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@
namespace finalcut namespace finalcut
{ {
#if DEBUG
// static class attributes // static class attributes
FTermData* FTermDebugData::data = nullptr; FTermData* FTermDebugData::data = nullptr;
FTermDetection* FTermDebugData::term_detection = nullptr; FTermDetection* FTermDebugData::term_detection = nullptr;
@ -43,6 +44,7 @@ void FTermDebugData::init()
data = FTerm::getFTermData(); data = FTerm::getFTermData();
term_detection = FTerm::getFTermDetection(); term_detection = FTerm::getFTermDetection();
} }
#endif // DEBUG
} // namespace finalcut } // namespace finalcut