From 0aa44e238db7a72f4fb8b347168ec76c3ce48ad5 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 6 Mar 2015 19:15:02 +0100 Subject: Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread. --- src/common/logging/filter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/logging/filter.h') diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h index c3da9989f..b53e4e633 100644 --- a/src/common/logging/filter.h +++ b/src/common/logging/filter.h @@ -2,6 +2,8 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#pragma once + #include #include -- cgit v1.2.3