Skip to content

Commit

Permalink
lang: add Hash() on bool argument (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
yerden authored and dingmaotu committed Apr 2, 2018
1 parent e7608fb commit 9e3b686
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Lang/Hash.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,13 @@ int Hash(const char value)
//+------------------------------------------------------------------+
//| expand to int |
//+------------------------------------------------------------------+
int Hash(const bool value)
{
return (int)value;
}
//+------------------------------------------------------------------+
//| expand to int |
//+------------------------------------------------------------------+
int Hash(const uchar value)
{
return value;
Expand Down

0 comments on commit 9e3b686

Please sign in to comment.