Skip to content

Commit

Permalink
Use HashSet instead of invalid Set for ActionMarker
Browse files Browse the repository at this point in the history
  • Loading branch information
dingmaotu committed Apr 11, 2018
1 parent 0d20d72 commit 4362062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UI/ActionMarker.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#property strict

#include "Mouse.mqh"
#include "../Collection/Set.mqh"
#include "../Collection/HashSet.mqh"
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
Expand All @@ -30,7 +30,7 @@ protected:
void ensureCreated();
double calcDistance() const;

Set<ActionEventHandler*>ActionEvent;
HashSet<ActionEventHandler*>ActionEvent;
public:
ActionMarker(string id,string label,int x,int y,long chart=0):m_chart(chart==0?ChartID():chart),m_id(id),m_label(label),m_ox(x),m_oy(y),m_actived(false)
{
Expand Down

0 comments on commit 4362062

Please sign in to comment.