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

@@ -31,7 +31,7 @@ namespace Nz
bool Reset(T* object = nullptr);
ObjectRef& Swap(ObjectRef& ref);
operator bool() const;
explicit operator bool() const;
operator T*() const;
T* operator->() const;