From 5433b43efd448c90c86fd5f233dd57489d7311f3 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Mon, 4 Apr 2011 20:48:29 +0200 Subject: [PATCH] const-correctness --- src/shared/proparser/profileparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();