diff --git a/src/shared/proparser/profileparser.cpp b/src/shared/proparser/profileparser.cpp index 9cfcf8bb062..e274cd997bb 100644 --- a/src/shared/proparser/profileparser.cpp +++ b/src/shared/proparser/profileparser.cpp @@ -275,7 +275,7 @@ bool ProFileParser::read(ProFile *pro, const QString &in) // Expression precompiler buffer. QString xprBuff; xprBuff.reserve(tokBuff.capacity()); // Excessive, but simple - ushort *buf = (ushort *)xprBuff.constData(); + ushort * const buf = (ushort *)xprBuff.constData(); // Parser state m_blockstack.clear();