fix gcc complain about non-const reference...
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Push(T& data)
|
bool Push(const T& data)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
@@ -96,4 +96,4 @@ public:
|
|||||||
SMutexLocker lock(m_mutex);
|
SMutexLocker lock(m_mutex);
|
||||||
m_count = 0;
|
m_count = 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user