From 979b99ea6fa63b0fd76f9eab43829c9b3f42549b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 13 Nov 2014 20:11:17 +0100 Subject: [PATCH] Build fix for the Windows plugins --- plugins/thresholds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/thresholds.cpp b/plugins/thresholds.cpp index 86e1582e9..0cf80228e 100644 --- a/plugins/thresholds.cpp +++ b/plugins/thresholds.cpp @@ -35,7 +35,7 @@ threshold parse(const wstring& stri) wstring str = stri; //kill whitespace - str.erase((std::remove(str.begin(), str.end(), L" "), str.end())); + boost::algorithm::trim(str); bool low = (str.at(0) == L'!'); if (low)