aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-08-16 14:11:30 +0200
committerhjk <hjk121@nokiamail.com>2013-08-16 14:38:01 +0200
commit92a37e261490a09c7b9810053e2977ac50d89491 (patch)
treea30d5c63cdd592bcd64e70195f650ac861621953
parent8c12b2bf7349345e0d25011067fd7b2452c4025a (diff)
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 <david.schulz@digia.com>
-rw-r--r--src/libs/cplusplus/CppRewriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/cplusplus/CppRewriter.cpp b/src/libs/cplusplus/CppRewriter.cpp
index 5920a8e605..4209644906 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) {