From 85626024a0e98469d458ab1c74e05abbb07aaf2d Mon Sep 17 00:00:00 2001 From: Aishou Date: Mon, 3 Mar 2014 11:44:00 +0100 Subject: [PATCH] fix gcc complain about non-const reference... --- Utilities/SQueue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/SQueue.h b/Utilities/SQueue.h index 1fee6f6727..a7021365e1 100644 --- a/Utilities/SQueue.h +++ b/Utilities/SQueue.h @@ -15,7 +15,7 @@ public: { } - bool Push(T& data) + bool Push(const T& data) { while (true) { @@ -96,4 +96,4 @@ public: SMutexLocker lock(m_mutex); m_count = 0; } -}; \ No newline at end of file +};