From 1f1c72d07f6f81710c4cc44aa79de9faf090e5a5 Mon Sep 17 00:00:00 2001 From: kenorb Date: Thu, 25 Apr 2024 22:54:07 +0100 Subject: [PATCH] Fixes nullptr undeclared identifier --- Object.mqh | 2 -- SerializerConverter.mqh | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Object.mqh b/Object.mqh index ed889e2a8..acee5760b 100644 --- a/Object.mqh +++ b/Object.mqh @@ -24,9 +24,7 @@ #ifndef OBJECT_MQH #define OBJECT_MQH -#ifdef __MQL4__ #define nullptr NULL -#endif // Includes. #include "Object.enum.h" diff --git a/SerializerConverter.mqh b/SerializerConverter.mqh index 750f338bb..afe169734 100644 --- a/SerializerConverter.mqh +++ b/SerializerConverter.mqh @@ -30,6 +30,7 @@ class SerializerNode; // Includes. #include "File.mqh" +#include "Object.mqh" #include "Serializer.enum.h" #include "Serializer.mqh" #include "SerializerNode.mqh"