mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
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:
committed by
Klaus Basan
parent
5ac7c224bf
commit
29f464189b
@@ -227,7 +227,7 @@ namespace BlackMisc
|
||||
void initCorrespondingModel(const CAircraftModel &model = {});
|
||||
|
||||
//! Mark as unit test
|
||||
void markAsUnitTest() { m_unitTest = true; }
|
||||
void markAsUnitTest();
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
|
||||
Reference in New Issue
Block a user