Commit 8ce39a8a authored by Sergey Belyashov's avatar Sergey Belyashov Committed by Oswald Buddenhagen
Browse files

Fixed warning about deprecated conversion from string literal to char*.

parent 1500914f
......@@ -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)); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment