diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-02-05 12:27:02 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-02-05 12:27:02 +0100 |
commit | 05e4cce366cccf92ad88f80695efa548fae187de (patch) | |
tree | 3332753154ecd89a87d7fdd6a4f9383d1b66ed1f /src/linda.hpp | |
parent | 59ae58fd31d63c261372bd5a36765328583bc1b6 (diff) | |
download | lanes-05e4cce366cccf92ad88f80695efa548fae187de.tar.gz lanes-05e4cce366cccf92ad88f80695efa548fae187de.tar.bz2 lanes-05e4cce366cccf92ad88f80695efa548fae187de.zip |
Minor internal code tweaks
* mark all eligible classes Final
* new TableIndex strong type
* buildfixes for HAVE_DEBUGSPEW()
* overridden virtual destructors tagged as such
Diffstat (limited to 'src/linda.hpp')
-rw-r--r-- | src/linda.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linda.hpp b/src/linda.hpp index 65bca9f..33fc504 100644 --- a/src/linda.hpp +++ b/src/linda.hpp | |||
@@ -15,11 +15,11 @@ static constexpr UniqueKey kLindaBatched{ 0xB8234DF772646567ull, "linda.batched" | |||
15 | 15 | ||
16 | DECLARE_UNIQUE_TYPE(LindaGroup, int); | 16 | DECLARE_UNIQUE_TYPE(LindaGroup, int); |
17 | 17 | ||
18 | class Linda | 18 | class Linda final |
19 | : public DeepPrelude // Deep userdata MUST start with this header | 19 | : public DeepPrelude // Deep userdata MUST start with this header |
20 | { | 20 | { |
21 | public: | 21 | public: |
22 | class [[nodiscard]] KeeperOperationInProgress | 22 | class [[nodiscard]] KeeperOperationInProgress final |
23 | { | 23 | { |
24 | private: | 24 | private: |
25 | Linda& linda; | 25 | Linda& linda; |