diff options
-rw-r--r-- | src/plugins/cpptools/cpptoolsreuse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpptoolsreuse.cpp b/src/plugins/cpptools/cpptoolsreuse.cpp index bb2d52c401..7f1abe5a20 100644 --- a/src/plugins/cpptools/cpptoolsreuse.cpp +++ b/src/plugins/cpptools/cpptoolsreuse.cpp @@ -117,7 +117,7 @@ bool isOwnershipRAIIType(CPlusPlus::Symbol *symbol, const LookupContext &context bool isValidAsciiIdentifierChar(const QChar &ch) { - return ch.isLetterOrNumber() || ch == QLatin1Char(' '); + return ch.isLetterOrNumber() || ch == QLatin1Char('_'); } bool isValidFirstIdentifierChar(const QChar &ch) |