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/unique.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/unique.hpp')
-rw-r--r-- | src/unique.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unique.hpp b/src/unique.hpp index aec5610..06a4532 100644 --- a/src/unique.hpp +++ b/src/unique.hpp | |||
@@ -78,7 +78,7 @@ class [[nodiscard]] Unique<T, TAG, std::enable_if_t<!std::is_scalar_v<T>>> | |||
78 | using self = Unique<T, TAG, void>; | 78 | using self = Unique<T, TAG, void>; |
79 | using type = T; | 79 | using type = T; |
80 | using T::T; | 80 | using T::T; |
81 | explicit Unique(T const& b_) | 81 | constexpr explicit Unique(T const& b_) |
82 | : T{ b_ } | 82 | : T{ b_ } |
83 | { | 83 | { |
84 | } | 84 | } |