Mark every bool conversion as explicit
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user