Move template in-class function definitions out of class

Keeping them defined in-class caused linker issues with the extern template
declaration in a non-optimized MinGW debug build. Apparently it did not
inline them but instead relied on the extern declaration and expected
them defined somewhere else.
This commit is contained in:
Roland Winklmeier
2018-08-29 16:24:43 +02:00
committed by Klaus Basan
parent 5ac7c224bf
commit 29f464189b
6 changed files with 28 additions and 4 deletions

View File

@@ -227,7 +227,7 @@ namespace BlackMisc
void initCorrespondingModel(const CAircraftModel &model = {});
//! Mark as unit test
void markAsUnitTest() { m_unitTest = true; }
void markAsUnitTest();
protected:
//! Constructor