From 84eef65a6a20380b9ceeab4d14ce904ab1ef8e07 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 15 Jul 2011 16:59:11 +0200 Subject: [PATCH] Use std::vector instead of std::list for active ScopeTracker management (we just append/delete at the end of the list all the time) --- src/tracefunc.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tracefunc.cpp b/src/tracefunc.cpp index 368559c..54a924c 100644 --- a/src/tracefunc.cpp +++ b/src/tracefunc.cpp @@ -20,7 +20,7 @@ on this file might be covered by the GNU General Public License. /** @file * @brief implementation of tracing functionality. * - * @copyright © Copyright 2008 by Intra2net AG + * @copyright © 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; -- 1.7.1