summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-01 13:14:57 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-01 13:14:57 +0100
commite92bd523d191469e57fc848c3af23a2a8e10d25e (patch)
treee719c4d28db45d49298a72222b8cb7276cfc24ad
parentee65895e9233f8ddbed0ed04759a1668e14be4f9 (diff)
Hack.unstab
-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: