From 622eb7089caed242b72a213382e729c1757541a5 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Mon, 27 May 2019 01:35:32 +0200 Subject: [PATCH] debug switch build fix --- src/ftermdebugdata.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ftermdebugdata.cpp b/src/ftermdebugdata.cpp index a8a60ac6..bd5424ee 100644 --- a/src/ftermdebugdata.cpp +++ b/src/ftermdebugdata.cpp @@ -27,7 +27,8 @@ namespace finalcut { - + +#if DEBUG // static class attributes FTermData* FTermDebugData::data = nullptr; FTermDetection* FTermDebugData::term_detection = nullptr; @@ -43,6 +44,7 @@ void FTermDebugData::init() data = FTerm::getFTermData(); term_detection = FTerm::getFTermDetection(); } +#endif // DEBUG } // namespace finalcut