Commit 19ff79bc authored by Igor Kushnir's avatar Igor Kushnir Committed by Milian Wolff
Browse files

Bucket: Q_DISABLE_COPY => Q_DISABLE_COPY_MOVE

Move this declaration closer to other special member functions.
parent 005e211e
......@@ -122,6 +122,7 @@ public:
Bucket()
{
}
Q_DISABLE_COPY_MOVE(Bucket)
~Bucket()
{
if (m_data != m_mappedData) {
......@@ -972,8 +973,6 @@ private:
}
private:
Q_DISABLE_COPY(Bucket)
int m_monsterBucketExtent = 0; //If this is a monster-bucket, this contains the count of follower-buckets that belong to this one
unsigned int m_available = 0;
char* m_data = nullptr; //Structure of the data: <Position of next item with same hash modulo ItemRepositoryBucketSize>(2 byte), <Item>(item.size() byte)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment