Workaround GCC 5.3 bug about constructor inheritance

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6705 for details
This commit is contained in:
Roland Rossgotterer
2018-12-10 15:55:50 +01:00
committed by Klaus Basan
parent beec08f70c
commit 18ed289949

View File

@@ -86,7 +86,9 @@ namespace BlackSimPlugin
public:
//! Constructor
using CSimulatorFsxCommonListener::CSimulatorFsxCommonListener;
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67054 - Constructor inheritance with non-default constructible members
// using CSimulatorFsxCommonListener::CSimulatorFsxCommonListener;
CSimulatorP3DListener(const BlackMisc::Simulation::CSimulatorPluginInfo &info) : FsxCommon::CSimulatorFsxCommonListener(info) {}
protected:
virtual void startImpl() override;