From de32e9958d71ed16ebf1e5f8b2a9cf244c62d8c6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 1 Oct 2015 13:00:48 +0100 Subject: Tweaks for Debian unstable. --- src/ref.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ref.h') 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(_object); } private: -- cgit v1.2.3