From 92a37e261490a09c7b9810053e2977ac50d89491 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 16 Aug 2013 14:11:30 +0200 Subject: [PATCH] CppRewriter: Replace std::__debug with std:: when beautifing types This only affects the visual presentation in Locals and Expressions and also lets more autotests pass it when compiled with -D_GLIBCXX_DEBUG Change-Id: I2672aa8610e8f6652606faefd858ecb450cef199 Reviewed-by: David Schulz --- src/libs/cplusplus/CppRewriter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/cplusplus/CppRewriter.cpp b/src/libs/cplusplus/CppRewriter.cpp index 5920a8e605f..42096449069 100644 --- a/src/libs/cplusplus/CppRewriter.cpp +++ b/src/libs/cplusplus/CppRewriter.cpp @@ -528,6 +528,7 @@ CPLUSPLUS_EXPORT QString simplifySTLType(const QString &typeIn) type.remove(0, 7); type.replace(QLatin1String("std::__1::"), QLatin1String("std::")); + type.replace(QLatin1String("std::__debug::"), QLatin1String("std::")); type.replace(QLatin1Char('*'), QLatin1Char('@')); for (int i = 0; i < 10; ++i) {