You are viewing an older revision! See the latest version
Compiler Error 728
you have a member you are accessing that is also a namespace; i.e.
class B { int value() { return 1; } };
namespace thing {
B b;
}
class foo {
B thing;
int getThingBad() { return thing.value(); } // fails
int getThingGood() { return this.thing.value(); } // works
}
(Note this example compiles, but gives an example of how to fix the issue, I got this with a slightly deeper set of namespaces and usings).