forked from qt-creator/qt-creator
const-correctness
This commit is contained in:
@@ -275,7 +275,7 @@ bool ProFileParser::read(ProFile *pro, const QString &in)
|
|||||||
// Expression precompiler buffer.
|
// Expression precompiler buffer.
|
||||||
QString xprBuff;
|
QString xprBuff;
|
||||||
xprBuff.reserve(tokBuff.capacity()); // Excessive, but simple
|
xprBuff.reserve(tokBuff.capacity()); // Excessive, but simple
|
||||||
ushort *buf = (ushort *)xprBuff.constData();
|
ushort * const buf = (ushort *)xprBuff.constData();
|
||||||
|
|
||||||
// Parser state
|
// Parser state
|
||||||
m_blockstack.clear();
|
m_blockstack.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user