diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 7633332a4..261feaea9 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -3836,7 +3836,7 @@ std::string ValueType::str() const for (unsigned int p = 0; p < pointer; p++) { ret += " *"; if (constness & (2 << p)) - ret += " const"; - } + ret += " const"; + } return ret.substr(1); }