Use std::vector instead of std::list for active ScopeTracker management (we just...
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 15 Jul 2011 14:59:11 +0000 (16:59 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 22 Sep 2011 14:26:37 +0000 (16:26 +0200)
src/tracefunc.cpp

index 368559c..54a924c 100644 (file)
@@ -20,7 +20,7 @@ on this file might be covered by the GNU General Public License.
 /** @file
  * @brief implementation of tracing functionality.
  *
- * @copyright &copy; Copyright 2008 by Intra2net AG
+ * @copyright &copy; Copyright 2008,2011 by Intra2net AG
  * 
  * Every thread gets its' own ScopeTracker stack via TLS (thread local storage)
  *
@@ -43,7 +43,7 @@ using Logger::GlobalLogger;
 class PerThreadContainer
 {
 public:
-    typedef std::list< ScopeTracker* > ScopeTrackerList;
+    typedef std::vector< ScopeTracker* > ScopeTrackerList;
 
     /// List of currently active scope trackers
     ScopeTrackerList scope_tracker_list;