From 52e016f3fc5a5d0e73e2914da791b77ee71da64d Mon Sep 17 00:00:00 2001 From: yerden Date: Mon, 2 Apr 2018 20:28:09 +0600 Subject: [PATCH] lang: add Hash() on bool argument --- Lang/Hash.mqh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Lang/Hash.mqh b/Lang/Hash.mqh index a334aaa..eb14fdc 100644 --- a/Lang/Hash.mqh +++ b/Lang/Hash.mqh @@ -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;