[FSD] use Serializer::fromQString function, to static_cast

see https://discordapp.com/channels/539048679160676382/539925070550794240/694955298217263124
This commit is contained in:
Klaus Basan
2020-04-01 19:20:17 +02:00
committed by Mat Sutcliffe
parent 81049cd835
commit 5eaa8db1a2
3 changed files with 8 additions and 7 deletions

View File

@@ -12,6 +12,7 @@
#include "blackmisc/logmessage.h"
using namespace BlackMisc;
using namespace BlackMisc::Aviation;
namespace BlackCore
@@ -61,7 +62,7 @@ namespace BlackCore
{
if (tokens.size() < 10)
{
BlackMisc::CLogMessage(static_cast<PilotDataUpdate *>(nullptr)).debug(u"Wrong number of arguments.");
CLogMessage(static_cast<PilotDataUpdate *>(nullptr)).debug(u"Wrong number of arguments.");
return {};
}