diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/duieditor/duicodeformatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/duieditor/duicodeformatter.h b/src/plugins/duieditor/duicodeformatter.h index 71077dfbef..ebb2ef57db 100644 --- a/src/plugins/duieditor/duicodeformatter.h +++ b/src/plugins/duieditor/duicodeformatter.h @@ -54,7 +54,7 @@ protected: private: void append(char c) { m_result += c; } - void append(char *s) { m_result += s; } + void append(const char *s) { m_result += s; } void append(const QString &s) { m_result += s; } void append(const QmlJS::AST::SourceLocation &loc) { m_result += textAt(loc); } void append(int pos, int len) { append(textAt(pos, len)); } |