Commit 5433b43e authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

const-correctness

parent 0cf7dbd8
......@@ -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();
......
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