Fix by defining the inline function in the header