usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/object-registry.cpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/object-registry.cpp
Date: Sun, 09 Jan 2005 04:50:37 -0500

Index: usata2/src/object-registry.cpp
diff -u usata2/src/object-registry.cpp:1.3 usata2/src/object-registry.cpp:1.4
--- usata2/src/object-registry.cpp:1.3  Sun Jan  9 08:17:14 2005
+++ usata2/src/object-registry.cpp      Sun Jan  9 09:32:20 2005
@@ -10,19 +10,21 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: object-registry.cpp,v 1.3 2005/01/09 08:17:14 skunix Exp $
+// $Id: object-registry.cpp,v 1.4 2005/01/09 09:32:20 skunix Exp $
 
 #include "object-registry.hpp"
 #include <map>
 #include <string>
 #include "log.hpp"
+#include "util.hpp"
 namespace usata
 {
        
        ObjectRegistry *ObjectRegistry::Instance=0;
 
-       ObjectRegistry::StaticKilla die;
-
+       namespace {
+               at_scope_exit nothing(ObjectRegistry::die);
+       }
 /**
        \ingroup impl
        \internal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]