mirror of https://github.com/Icinga/icinga2.git
Build fix for the Windows plugins
This commit is contained in:
parent
0324cbff7c
commit
979b99ea6f
|
@ -35,7 +35,7 @@ threshold parse(const wstring& stri)
|
||||||
wstring str = stri;
|
wstring str = stri;
|
||||||
|
|
||||||
//kill whitespace
|
//kill whitespace
|
||||||
str.erase((std::remove(str.begin(), str.end(), L" "), str.end()));
|
boost::algorithm::trim(str);
|
||||||
|
|
||||||
bool low = (str.at(0) == L'!');
|
bool low = (str.at(0) == L'!');
|
||||||
if (low)
|
if (low)
|
||||||
|
|
Loading…
Reference in New Issue