summaryrefslogtreecommitdiff
path: root/src/ref.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-01 13:00:48 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-01 13:17:47 +0100
commitde32e9958d71ed16ebf1e5f8b2a9cf244c62d8c6 (patch)
treee719c4d28db45d49298a72222b8cb7276cfc24ad /src/ref.h
parent13cbd5e5994ab68d1bd1412291fac32208d38157 (diff)
Tweaks for Debian unstable.
Diffstat (limited to 'src/ref.h')
-rw-r--r--src/ref.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ref.h b/src/ref.h
index 8194e585..e2e2aa01 100644
--- a/src/ref.h
+++ b/src/ref.h
@@ -108,7 +108,7 @@ public:
/** @return true if a shared_ptr is known for this Ref */
bool resolved () const {
- return _object;
+ return static_cast<bool>(_object);
}
private: