]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGSharedPtr.hxx
Boolean uniforms are now updatable by properties
[simgear.git] / simgear / structure / SGSharedPtr.hxx
index f321b12dc4a3e4578b14276d2e5f74dfded32b2c..c815a2fa566f94253282109ec6d5a76ce4489dad 100644 (file)
@@ -88,7 +88,7 @@ public:
   { return T::count(_ptr); }
 
   bool valid(void) const
-  { return _ptr; }
+  { return _ptr != (T*)0; }
 
   void clear()
   { put(); }