const removed from inline fucntion.