Skip to content

Commit

Permalink
prevent StringsTable copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto committed Mar 27, 2024
1 parent 5ae0e91 commit 839fa0a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/Data/StringsTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ namespace S2Plugin
size_t size{0};
// Use the model as cache
QStandardItemModel cache;

StringsTable(){};
~StringsTable(){};
StringsTable(const StringsTable&) = delete;
StringsTable& operator=(const StringsTable&) = delete;

friend struct Spelunky2;
};
} // namespace S2Plugin

0 comments on commit 839fa0a

Please sign in to comment.