aboutsummaryrefslogtreecommitdiff
path: root/src/common/logging/backend.cpp
diff options
context:
space:
mode:
authorB3n30 <benediktthomas@gmail.com>2018-10-08 23:28:54 +0200
committerfearlessTobi <thm.frey@gmail.com>2019-02-15 22:14:54 +0100
commitb2636e4b03f63d910b1ace2e3f0811b4527ebf3c (patch)
tree6bf2fb03d0df8224a44259eed4a773bc67fe4b45 /src/common/logging/backend.cpp
parent5334e20770c118d9f4bd4e8776b27efa492537e9 (diff)
Adressed review comments
Diffstat (limited to 'src/common/logging/backend.cpp')
-rw-r--r--src/common/logging/backend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 276e49f866..b369f199f3 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -83,7 +83,8 @@ private:
backend->Write(e);
}
};
- while (message_queue.PopWait(entry)) {
+ while (true) {
+ entry = message_queue.PopWait();
if (entry.final_entry) {
break;
}