diff options
author | Murray Cumming <murrayc@murrayc.com> | 2011-03-27 22:21:50 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2011-03-27 22:21:50 +0200 |
commit | e7d1d034a5327b05680009af16a061c967203627 (patch) | |
tree | 20d8da456790a1b28e74e3868790d90eaa2f368e /glib/src/variant.hg | |
parent | 3a2586801cf6cf01546f332058ee04d7d505e6ab (diff) | |
download | glibmm-e7d1d034a5327b05680009af16a061c967203627.tar.gz |
Avoid use of NULL in C++
Diffstat (limited to 'glib/src/variant.hg')
-rw-r--r-- | glib/src/variant.hg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/src/variant.hg b/glib/src/variant.hg index bccfda14..22c5d7a5 100644 --- a/glib/src/variant.hg +++ b/glib/src/variant.hg @@ -176,7 +176,7 @@ template<class V_CastTo> V_CastTo VariantBase::cast_dynamic(const VariantBase& v) throw(std::bad_cast) { - if(v.gobj() == NULL) + if(!(v.gobj())) { return V_CastTo(); } |