Forgot to make the function inline in the header file