From 3098ad26502f5f3cba27b1894ec4dc8765d844f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 24 Nov 2013 18:42:04 +0100 Subject: [PATCH] Audio: missing inline. Caused static build to fail on multiple definitons. --- src/Audio/Source.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);