The compiler will always inline simple getter functions so there's no need to worry about this :-)