fix gcc complain about non-const reference...

This commit is contained in:
Aishou
2014-03-03 11:44:00 +01:00
parent 851acfdbf3
commit 85626024a0
+2 -2
View File
@@ -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;
}
};
};