Fixed compiler warning.

This commit is contained in:
Gunnar Beutner 2012-07-13 19:38:14 +02:00
parent 330c3710e3
commit 06f9bf2eaa
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public:
operator bool(void) const
{
return static_cast<long>(*this);
return (static_cast<long>(*this) != 0);
}
operator string(void) const