micclly / mt4-unittest

Unit testing framework for MetaTrader4
GNU General Public License v3.0
33 stars 24 forks source link

'UnitTestData' - conversion exists, but is inaccessible #5

Open aaronfultonnz opened 8 years ago

aaronfultonnz commented 8 years ago

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

femtotrader commented 8 years ago

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/

femtotrader commented 8 years ago

Sorry I thought it was my project https://github.com/femtotrader/mt4-unittest/

Anyway you can send a PR to @micclly

t126tank commented 7 years ago

The fix is to use "public" descriptor. class UnitTestData : CObject ↓ class UnitTestData : public CObject