| changeset 53 | 13bd3a8df334 |
| parent 40 | ce787d61fb71 |
| child 54 | 8e22792a3921 |
1.1 --- a/jitcraft/Handles.h Sat Jul 07 01:45:33 2012 -0400 1.2 +++ b/jitcraft/Handles.h Sat Jul 07 17:11:31 2012 -0700 1.3 @@ -142,8 +142,7 @@ 1.4 } 1.5 1.6 public: 1.7 - ScopedRoot() 1.8 - { } 1.9 + ScopedRoot(); 1.10 1.11 // This is implemented in Zone.h. 1.12 inline ScopedRoot(T *thing); 1.13 @@ -166,7 +165,7 @@ 1.14 return *thingp_; 1.15 } 1.16 operator bool () const { 1.17 - return *thingp_; 1.18 + return !!*thingp_; 1.19 } 1.20 T **address() const { 1.21 return thingp_;