mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-10 01:34:37 +00:00
wsd: fix error: declaration of ‘size’ shadows a member of 'this' [-Werror=shadow]
This commit is contained in:
@ -69,11 +69,11 @@ public:
|
||||
|
||||
std::unique_lock<std::mutex> lock(_mutex);
|
||||
_queue.push_back(item);
|
||||
const size_t size = _queue.size();
|
||||
const size_t queuesize = _queue.size();
|
||||
lock.unlock();
|
||||
|
||||
_cv.notify_one();
|
||||
return size;
|
||||
return queuesize;
|
||||
}
|
||||
|
||||
bool waitDequeue(SendItem& item,
|
||||
|
Reference in New Issue
Block a user