sajty/ember — comment on commit bdf80d1bece1cc5512eebeb41a6e962b5c3b2557
File: src/components/ogre/EmberOgre.h line 164
By sajty:

Normally compilers can be optimized for speed and for size.
However inlining a getter and setter method with body is always inlined since the call and return overhead is bigger and slower then the body itself.
So its always superior to inline that method. Even java is inlining getter and setter methods automatically.

"Inline" keyword is just a suggestion to the compiler. Its not meaning it will or will not be inlined. However if Visual Studio can't inline an "inline" method I get performance warnings. So the only difference is the warning message and if you use "optimize for size" it would also inline it like "optimize for speed". But getter methods are always inlined.