Skip to content

Commit

Permalink
Fix the copy/move constructor declarations in NormalizedComponentStor…
Browse files Browse the repository at this point in the history
…ageHolder. Some compilers failed with the previous declaration.
  • Loading branch information
poletti-marco committed May 22, 2024
1 parent 79687e7 commit dab5bdf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class NormalizedComponentStorageHolder {
const std::vector<TypeId, ArenaAllocator<TypeId>>& exposed_types,
MemoryPool& memory_pool, WithUndoableCompression);

NormalizedComponentStorageHolder(NormalizedComponentStorage&&) = delete;
NormalizedComponentStorageHolder(const NormalizedComponentStorage&) = delete;
NormalizedComponentStorageHolder(NormalizedComponentStorageHolder&&) = default;
NormalizedComponentStorageHolder(const NormalizedComponentStorageHolder&) = delete;

NormalizedComponentStorageHolder& operator=(NormalizedComponentStorageHolder&&) = delete;
NormalizedComponentStorageHolder& operator=(const NormalizedComponentStorageHolder&) = delete;
Expand Down

0 comments on commit dab5bdf

Please sign in to comment.