add explicit bool operator to negate to silence msvc warnings - closes #1307

This commit is contained in:
Dane Springmeyer 2012-07-12 16:38:13 -07:00
parent d828377c7c
commit 02644aeed1

View file

@ -577,6 +577,11 @@ struct negate : public boost::static_visitor<V>
return val;
}
value_type operator() (bool val) const
{
return val ? -1 : 0;
}
value_type operator() (UnicodeString const& ustr) const
{
UnicodeString inplace(ustr);