const-correctness

This commit is contained in:
Oswald Buddenhagen
2011-04-04 20:48:29 +02:00
parent 0cf7dbd816
commit 5433b43efd

View File

@@ -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();