mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 21:50:25 +00:00
fix msvc compilation.
This commit is contained in:
parent
90cd3bacc8
commit
b847c18785
@ -70,7 +70,7 @@ private :
|
||||
public:
|
||||
|
||||
explicit operator bool() const
|
||||
{ return unit_.get(); }
|
||||
{ return unit_.get() != nullptr; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user