diff --git a/src/Audio/Source.h b/src/Audio/Source.h index 6838ecd42..591d35d7a 100644 --- a/src/Audio/Source.h +++ b/src/Audio/Source.h @@ -560,7 +560,7 @@ inline Source& Source::operator=(Source&& other) { return *this; } -auto Source::state() const -> State { +inline auto Source::state() const -> State { ALint state; alGetSourcei(_id, AL_SOURCE_STATE, &state); return State(state);