Fix backtracer

This commit is contained in:
gabime 2019-09-03 14:04:31 +03:00
parent dc893701f9
commit 5e75b104d6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public:
}
// pop all items in the q and apply the given fun on each of them.
void foreach_pop(std::function<void(const details::log_msg)> fun)
void foreach_pop(std::function<void(const details::log_msg &)> fun)
{
std::lock_guard<std::mutex> lock{mutex_};
while (!messages_.empty())