diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-20 11:48:41 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-20 11:48:41 +0200 |
commit | 0ec260c12ee6a37e763bc60ef587dbd891136e76 (patch) | |
tree | 26a738c47f8a4c264546feb5bccb507b3330456a /src/deep.h | |
parent | 08040747494fe7839d2ab049e37f8e23fb8141b4 (diff) | |
download | lanes-0ec260c12ee6a37e763bc60ef587dbd891136e76.tar.gz lanes-0ec260c12ee6a37e763bc60ef587dbd891136e76.tar.bz2 lanes-0ec260c12ee6a37e763bc60ef587dbd891136e76.zip |
Start using string_view
Diffstat (limited to 'src/deep.h')
-rw-r--r-- | src/deep.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ extern "C" | |||
18 | #include "uniquekey.h" | 18 | #include "uniquekey.h" |
19 | 19 | ||
20 | #include <atomic> | 20 | #include <atomic> |
21 | #include <string_view> | ||
21 | 22 | ||
22 | // forwards | 23 | // forwards |
23 | enum class LookupMode; | 24 | enum class LookupMode; |
@@ -67,7 +68,7 @@ class DeepFactory | |||
67 | [[nodiscard]] virtual DeepPrelude* newDeepObjectInternal(lua_State* L_) const = 0; | 68 | [[nodiscard]] virtual DeepPrelude* newDeepObjectInternal(lua_State* L_) const = 0; |
68 | virtual void deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const = 0; | 69 | virtual void deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const = 0; |
69 | virtual void createMetatable(lua_State* L_) const = 0; | 70 | virtual void createMetatable(lua_State* L_) const = 0; |
70 | [[nodiscard]] virtual char const* moduleName() const = 0; | 71 | [[nodiscard]] virtual std::string_view moduleName() const = 0; |
71 | 72 | ||
72 | public: | 73 | public: |
73 | // NVI: public interface | 74 | // NVI: public interface |