Fixed compiler warning about inline functions