From 49887ff06e6ac132ae38cfeb5926eecf8f4b5421 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Thu, 12 Aug 2010 12:16:48 +0200 Subject: [PATCH] Fix the fix that turned a warning into a bug :-( --- simgear/structure/SGSharedPtr.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/structure/SGSharedPtr.hxx b/simgear/structure/SGSharedPtr.hxx index 98b72f22..c815a2fa 100644 --- a/simgear/structure/SGSharedPtr.hxx +++ b/simgear/structure/SGSharedPtr.hxx @@ -88,7 +88,7 @@ public: { return T::count(_ptr); } bool valid(void) const - { return _ptr != NULL; } + { return _ptr != (T*)0; } void clear() { put(); } -- 2.39.5