mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +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
@@ -164,7 +164,8 @@ namespace XSwiftBus
|
||||
|
||||
void CService::setSettingsJson(const std::string &jsonString)
|
||||
{
|
||||
const CSettings s(jsonString);
|
||||
CSettings s;
|
||||
s.parseXSwiftBusString(jsonString);
|
||||
this->setSettings(s);
|
||||
INFO_LOG("Received settings " + s.convertToString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user