mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 08:01:32 +08:00
Fixes "const" usage
This commit is contained in:
parent
3d9e3c2efc
commit
d29bdd1438
@ -146,7 +146,7 @@ class InMemoryReader
|
|||||||
public:
|
public:
|
||||||
InMemoryReader(const QByteArray& data);
|
InMemoryReader(const QByteArray& data);
|
||||||
bool initReadHeader();
|
bool initReadHeader();
|
||||||
bool read(OffsetsHeaderEntry::Type type, QByteArray &data) const;
|
bool read(OffsetsHeaderEntry::Type type, QByteArray &data);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QByteArray _data;
|
QByteArray _data;
|
||||||
|
@ -388,7 +388,7 @@ bool InMemoryReader::initReadHeader()
|
|||||||
return !in.atEnd();
|
return !in.atEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool InMemoryReader::read(OffsetsHeaderEntry::Type type, QByteArray& data) const
|
bool InMemoryReader::read(OffsetsHeaderEntry::Type type, QByteArray& data)
|
||||||
{
|
{
|
||||||
// Find offset for "type".
|
// Find offset for "type".
|
||||||
int index = -1;
|
int index = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user