Skip to content

Commit

Permalink
Fixes nullptr undeclared identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 25, 2024
1 parent c3ca6da commit 1f1c72d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions Object.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
#ifndef OBJECT_MQH
#define OBJECT_MQH

#ifdef __MQL4__
#define nullptr NULL
#endif

// Includes.
#include "Object.enum.h"
Expand Down
1 change: 1 addition & 0 deletions SerializerConverter.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class SerializerNode;

// Includes.
#include "File.mqh"
#include "Object.mqh"
#include "Serializer.enum.h"
#include "Serializer.mqh"
#include "SerializerNode.mqh"
Expand Down

0 comments on commit 1f1c72d

Please sign in to comment.