mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Ref T709, avoid pure virtual assert by removing the JSON ctor, which is calling a virtual function in the ctor
This commit is contained in:
committed by
Mat Sutcliffe
parent
0b728053f0
commit
024360a5df
@@ -38,11 +38,6 @@ namespace BlackMisc
|
||||
CXSwiftBusSettingsQtFree::CXSwiftBusSettingsQtFree()
|
||||
{}
|
||||
|
||||
CXSwiftBusSettingsQtFree::CXSwiftBusSettingsQtFree(const std::string &json)
|
||||
{
|
||||
this->parseXSwiftBusString(json);
|
||||
}
|
||||
|
||||
bool CXSwiftBusSettingsQtFree::parseXSwiftBusString(const std::string &json)
|
||||
{
|
||||
if (json.empty()) { return false; }
|
||||
|
||||
@@ -28,9 +28,6 @@ namespace BlackMisc
|
||||
//! Constructor.
|
||||
CXSwiftBusSettingsQtFree();
|
||||
|
||||
//! JSON Constructor.
|
||||
CXSwiftBusSettingsQtFree(const std::string &json);
|
||||
|
||||
//! Destructor.
|
||||
~CXSwiftBusSettingsQtFree() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user