From 5e57d6c30a817fc108f6dc0d24e796391ae2f896 Mon Sep 17 00:00:00 2001 From: kenorb Date: Thu, 25 Apr 2024 22:57:30 +0100 Subject: [PATCH] SerializerConverter: Fixes error: member reference base type 'C *' is not a structure --- SerializerConverter.mqh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SerializerConverter.mqh b/SerializerConverter.mqh index afe169734..5aae5a257 100644 --- a/SerializerConverter.mqh +++ b/SerializerConverter.mqh @@ -108,7 +108,7 @@ class SerializerConverter { template static SerializerConverter FromString(string arg) { - SerializerConverter _converter(((C*)NULL).Parse(arg), 0); + SerializerConverter _converter(((C*)NULL)PTR_DEREF Parse(arg), 0); return _converter; }