mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
Fixes "const" usage
This commit is contained in:
parent
3d9e3c2efc
commit
d29bdd1438
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user