Mark every bool conversion as explicit

This commit is contained in:
Jérôme Leclercq
2017-06-21 18:10:46 +02:00
parent d4532ce7ff
commit b2e23cfb56
9 changed files with 9 additions and 9 deletions

View File

@@ -50,7 +50,7 @@ namespace Nz
String ToString() const;
inline UInt32 ToUInt32() const;
inline operator bool() const;
inline explicit operator bool() const;
IpAddress& operator=(const IpAddress&) = default;
IpAddress& operator=(IpAddress&&) = default;