Skip to content

Commit

Permalink
fix msvc compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Apr 1, 2016
1 parent 90cd3ba commit b847c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fake_unit_ptr.hpp
Expand Up @@ -70,7 +70,7 @@ private :
public:

explicit operator bool() const
{ return unit_.get(); }
{ return unit_.get() != nullptr; }
};

#endif

0 comments on commit b847c18

Please sign in to comment.