diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-01 13:14:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-01 13:14:57 +0100 |
| commit | e92bd523d191469e57fc848c3af23a2a8e10d25e (patch) | |
| tree | e719c4d28db45d49298a72222b8cb7276cfc24ad | |
| parent | ee65895e9233f8ddbed0ed04759a1668e14be4f9 (diff) | |
Hack.unstab
| -rw-r--r-- | src/ref.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |
