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 /deep_test | |
parent | 08040747494fe7839d2ab049e37f8e23fb8141b4 (diff) | |
download | lanes-0ec260c12ee6a37e763bc60ef587dbd891136e76.tar.gz lanes-0ec260c12ee6a37e763bc60ef587dbd891136e76.tar.bz2 lanes-0ec260c12ee6a37e763bc60ef587dbd891136e76.zip |
Start using string_view
Diffstat (limited to 'deep_test')
-rw-r--r-- | deep_test/deep_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index 35a2e56..9ca88df 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp | |||
@@ -19,7 +19,7 @@ class MyDeepFactory : public DeepFactory | |||
19 | { | 19 | { |
20 | luaL_getmetatable(L_, "deep"); | 20 | luaL_getmetatable(L_, "deep"); |
21 | } | 21 | } |
22 | [[nodiscard]] char const* moduleName() const override { return "deep_test"; } | 22 | [[nodiscard]] std::string_view moduleName() const override { return std::string_view{ "deep_test" }; } |
23 | }; | 23 | }; |
24 | /*static*/ MyDeepFactory MyDeepFactory::Instance{}; | 24 | /*static*/ MyDeepFactory MyDeepFactory::Instance{}; |
25 | 25 | ||