Fixes "const" usage

This commit is contained in:
mfreiholz 2016-04-01 09:57:52 +02:00
parent 3d9e3c2efc
commit d29bdd1438
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ class InMemoryReader
public:
InMemoryReader(const QByteArray& data);
bool initReadHeader();
bool read(OffsetsHeaderEntry::Type type, QByteArray &data) const;
bool read(OffsetsHeaderEntry::Type type, QByteArray &data);
private:
QByteArray _data;

View File

@ -388,7 +388,7 @@ bool InMemoryReader::initReadHeader()
return !in.atEnd();
}
bool InMemoryReader::read(OffsetsHeaderEntry::Type type, QByteArray& data) const
bool InMemoryReader::read(OffsetsHeaderEntry::Type type, QByteArray& data)
{
// Find offset for "type".
int index = -1;