Commit 1c9649d7 authored by Milian Wolff's avatar Milian Wolff
Browse files

Disable copying of item repositories

We must not have multiple copies of the same repository alive,
prevent that from happening by accident here.
parent a1474517
......@@ -1055,6 +1055,7 @@ class ItemRepositoryPrivate
BucketStartOffset = sizeof(uint) * 7 + sizeof(short unsigned int) * bucketHashSize //Position in the data where the bucket array starts
explicit ItemRepositoryPrivate(ItemRepository& itemRepository, const QString& repositoryName,
uint repositoryVersion = 1)
......@@ -2289,6 +2290,7 @@ class ItemRepository : public AbstractItemRepository
using ThisLocker = Locker<threadSafe>;
using Private = ItemRepositoryPrivate<
ItemRepository<Item, ItemRequest, markForReferenceCounting, threadSafe, fixedItemSize, targetBucketHashSize>,
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