Use new shorten_stl_types in scope tracker
[libi2ncommon] / src / tracefunc.cpp
index cbdadea..4e6282a 100644 (file)
@@ -33,6 +33,8 @@ on this file might be covered by the GNU General Public License.
 #include <sstream>
 #include <boost/thread/tss.hpp>
 
+#include <stringfunc.hxx>
+
 namespace I2n
 {
 namespace Tracer
@@ -140,7 +142,7 @@ ScopeTracker::ScopeTracker(
       }
       else
       {
-         ostr << Location.FunctionName;
+         ostr << shorten_stl_types(Location.FunctionName);
          if (FuncDepth>0)
          {
             ostr << "#" << FuncDepth+1;