aboutsummaryrefslogtreecommitdiff
path: root/include/MessageQueue.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-13 07:57:03 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-13 07:57:03 +0200
commita2a49eee1985ec13e52e477060a50da2fcbdb894 (patch)
treeec7686182e2507ac1855f94668686c76af250bc6 /include/MessageQueue.hpp
parent522285b55556b954c786d254388c4b0e45f05a14 (diff)
Lbry: fix missing search match for channels with no title (but with a name) and reposts
Diffstat (limited to 'include/MessageQueue.hpp')
-rw-r--r--include/MessageQueue.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/MessageQueue.hpp b/include/MessageQueue.hpp
index 30826f4..286739d 100644
--- a/include/MessageQueue.hpp
+++ b/include/MessageQueue.hpp
@@ -58,7 +58,7 @@ namespace QuickMedia {
running = true;
}
- // Returns true from |callback| to remove the element
+ // Return true from |callback| to remove the element
void erase_if(std::function<bool(T&)> callback) {
std::unique_lock<std::mutex> lock(mutex);
for(auto it = data_queue.begin(); it != data_queue.end();) {