add inline keyword for non-class method defined in header file