From 7b69fec8e71a1540f17a4a94e5f2d4132d5b09b6 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 21 Dec 2015 10:04:09 -0500 Subject: [PATCH] StreamBuffer: Remove unnecessary inline specifiers Methods defined directly in class bodies are inline by default --- Source/Core/VideoBackends/OGL/StreamBuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoBackends/OGL/StreamBuffer.h b/Source/Core/VideoBackends/OGL/StreamBuffer.h index ba1f78944c..ab55fb865b 100644 --- a/Source/Core/VideoBackends/OGL/StreamBuffer.h +++ b/Source/Core/VideoBackends/OGL/StreamBuffer.h @@ -33,7 +33,7 @@ public: virtual std::pair Map(u32 size) = 0; virtual void Unmap(u32 used_size) = 0; - inline std::pair Map(u32 size, u32 stride) + std::pair Map(u32 size, u32 stride) { u32 padding = m_iterator % stride; if (padding) @@ -60,7 +60,7 @@ protected: private: static const int SYNC_POINTS = 16; - inline int SLOT(u32 x) const { return x >> m_bit_per_slot; } + int SLOT(u32 x) const { return x >> m_bit_per_slot; } const int m_bit_per_slot; GLsync fences[SYNC_POINTS];