even though this isn't your code... this should also be fixed to be:

const glm::vec3& getPosition()       const { return _position; }