From f6298daae4589d89459704269041a962fc966845 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 20 May 2005 06:39:41 +0000 Subject: [PATCH] Added env var report. --- src/osg/Referenced.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osg/Referenced.cpp b/src/osg/Referenced.cpp index 785fc1029..4524f2a22 100644 --- a/src/osg/Referenced.cpp +++ b/src/osg/Referenced.cpp @@ -12,6 +12,7 @@ */ #include #include +#include #include #include @@ -26,6 +27,7 @@ namespace osg static bool s_useThreadSafeReferenceCounting = getenv("OSG_THREAD_SAFE_REF_UNREF")!=0; static std::auto_ptr s_deleteHandler(0); +static ApplicationUsageProxy Referenced_e0(ApplicationUsage::ENVIRONMENTAL_VARIABLE,"OSG_THREAD_SAFE_REF_UNREF",""); void Referenced::setThreadSafeReferenceCounting(bool enableThreadSafeReferenceCounting) {