'inline' keyword for MessageManager::getInstanceWithoutCreating() makes it unavailable in release


#1

It seems that the 'inline' modifier for MessageManager::getInstanceWithoutCreating() (MessageManager.cpp@line 73) causes the method to be stripped away and thus unaccessible by client code in Release buids (I get a linker error)

If I remove it, everything compiles successfully

 


#2

Ok, thanks. Not sure why I would have added it anyway - I'll remove it.


#3

Maybe it was meant to live in the .h and then has been moved to the cpp alongside with its 'inline' attribute