I think you just changed this:
no matching function for call to ‘First::someFunc(SomeEnum)’
note: candidate is: void First::someFunc(First::SomeEnum)
did not have:
no matching function for call to ‘First::someFunc(SomeEnum)’
note: candidate is: bool First::someFunc(First::SomeEnum)
In any case, this changes things. Is enumeration declared inside class First? If yes, or if you don't know, just try calling the puttung function First::before listing:
obj.someFunc( First::two ); // two is from SomeEnum
^^^^^^^
source
share