fix msvc compilation.

This commit is contained in:
gfgtdf 2016-04-01 22:34:13 +02:00
parent 90cd3bacc8
commit b847c18785

View File

@ -70,7 +70,7 @@ private :
public:
explicit operator bool() const
{ return unit_.get(); }
{ return unit_.get() != nullptr; }
};
#endif