Question about pointers inside classes

Solved
Last edited on
1) Either remove 'const' from the type of the parameter of the addTestMethod function, or define the variable test as std::vector<const Test1*>

2)this->addTestMethod(&t)
Last edited on
solved
Last edited on
use Test*const instead
Nevermind I fixed it. Thanks guys.
Last edited on
Topic archived. No new replies allowed.