Skip to content

Commit

Permalink
Little fixes due to compiler problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
nseam committed Sep 27, 2021
1 parent e3cf937 commit 1604b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Indicators/Indi_BWZT.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
// Includes.
#include "../BufferStruct.mqh"
#include "../Indicator.mqh"
#include "../Storage/ValueStorage.all.h"
#include "Indi_AC.mqh"
#include "Indi_AO.mqh"

Expand Down
2 changes: 1 addition & 1 deletion Refs.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Dynamic {
*/
Dynamic() {
#ifdef __MQL__
if (CheckPointer(&this) == POINTER_DYNAMIC) {
if (CheckPointer(GetPointer(this)) == POINTER_DYNAMIC) {
#else
// For other languages we just assume that user knows what he does and creates all Dynamic instances on the heap.
if (true) {
Expand Down

0 comments on commit 1604b8d

Please sign in to comment.