When I inline a function it gives me an error that there is an undefined reference to the functions. It is simply a get function, sth like this
Even if I inline it on its delcarationCode:inline obj myClass::getVar() { return val; }
I get the same errorCode:myClass { ... inline obj getVar(); }