mt4-unittest
mt4-unittest copied to clipboard
'UnitTestData' - conversion exists, but is inaccessible
I'm had an issue compiling the test include. (Metaeditor 5 build 1241). I got a "UnitTestData' - conversion exists, but is inaccessible" error.
Had to change class UnitTestData : CObject
to class UnitTestData : public CObject
on line 14
Thanks for this feedback. I haven't run this project recently so I think it's because of newer Metatrader build.
It will be nice if you could submit a PR (pull request)
https://help.github.com/articles/creating-a-pull-request/
Sorry I thought it was my project https://github.com/femtotrader/mt4-unittest/
Anyway you can send a PR to @micclly
The fix is to use "public" descriptor. class UnitTestData : CObject ↓ class UnitTestData : public CObject