| Index: core/fxcrt/include/cfx_count_ref.h
|
| diff --git a/core/fxcrt/include/cfx_count_ref.h b/core/fxcrt/include/cfx_count_ref.h
|
| index 95132a73ca0e34983199c12fb878d2944fdf062a..d709efb67c0c9d1d64554d507ad0892ec3063c4b 100644
|
| --- a/core/fxcrt/include/cfx_count_ref.h
|
| +++ b/core/fxcrt/include/cfx_count_ref.h
|
| @@ -47,7 +47,7 @@ class CFX_CountRef {
|
| return m_pObject == that.m_pObject;
|
| }
|
| bool operator!=(const CFX_CountRef& that) const { return !(*this == that); }
|
| - operator bool() const { return m_pObject; }
|
| + explicit operator bool() const { return !!m_pObject; }
|
|
|
| private:
|
| class CountedObj : public ObjClass {
|
|
|