Ignore the warning for now as it will certainly be fixed in a next update.
Or modify the copy constructor in TimeSpan :
//+------------------------------------------------------------------+ //| Constructor with parameters. | //+------------------------------------------------------------------+ TimeSpan(const TimeSpan &value) { m_ticks=value.Ticks(); }
Thank you Alain, noted.
WMBR, ESB.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello All,
With the latest MT5 update, I am hitting something I don't understand; a little script to illustrate the compiler warning am hitting:I receive the following compiler warning:
The '=' operator in TimeSpan.mqh looks OK to me, please will someone let me know what is wrong/offer a fix?
With my best regards, ESB.