]> git.mxchange.org Git - simgear.git/commitdiff
Fix the fix that turned a warning into a bug :-(
authorTorsten Dreyer <Torsten@t3r.de>
Thu, 12 Aug 2010 10:16:48 +0000 (12:16 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Thu, 12 Aug 2010 10:16:48 +0000 (12:16 +0200)
simgear/structure/SGSharedPtr.hxx

index 98b72f22c902a37dfd43c07b2f8418a36687ebbe..c815a2fa566f94253282109ec6d5a76ce4489dad 100644 (file)
@@ -88,7 +88,7 @@ public:
   { return T::count(_ptr); }
 
   bool valid(void) const
-  { return _ptr != NULL; }
+  { return _ptr != (T*)0; }
 
   void clear()
   { put(); }