diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 08:24:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-29 08:32:58 +0200 |
commit | c6698856716303217dea5d5233d32dd9f8a79763 (patch) | |
tree | 7e453eea4665310f2b76cb0975e02c854cfeae4d | |
parent | d79437c0d33d117523f73cee04943c1dc90e2df4 (diff) |
Better make the bool conversion operator explicit
Change-Id: I1ac9cb24cd51e3721cb903b5033054056b540bb8
-rw-r--r-- | include/vcl/vclptr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/vclptr.hxx b/include/vcl/vclptr.hxx index 86cd5fd42ed4..50c4c4300b97 100644 --- a/include/vcl/vclptr.hxx +++ b/include/vcl/vclptr.hxx @@ -186,7 +186,7 @@ public: return m_rInnerRef.get(); } - inline operator bool () const + inline explicit operator bool () const { return m_rInnerRef.get() != NULL; } |