mt4-unittest icon indicating copy to clipboard operation
mt4-unittest copied to clipboard

'UnitTestData' - conversion exists, but is inaccessible

Open aaronfultonnz opened this issue 8 years ago • 3 comments

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

aaronfultonnz avatar May 31 '16 05:05 aaronfultonnz

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 avatar May 31 '16 07:05 femtotrader

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

Anyway you can send a PR to @micclly

femtotrader avatar May 31 '16 07:05 femtotrader

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

t126tank avatar Oct 22 '16 09:10 t126tank