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

@@ -145,7 +145,7 @@ namespace Nz
template<bool BadCall = true>
void* operator&() const;
operator bool() const;
explicit operator bool() const;
Bit& operator=(bool val);
Bit& operator=(const Bit& bit);