From 07d6074b5deadc7ff6d30d5fb47fb6fa863a14ff Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 29 Apr 2024 09:50:57 +0200 Subject: All headers reformatted with updated clang-format settings --- deep_test/deep_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deep_test/deep_test.cpp') diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index 77ecefb..35a2e56 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp @@ -13,13 +13,13 @@ class MyDeepFactory : public DeepFactory private: - DeepPrelude* newDeepObjectInternal(lua_State* L) const override; + [[nodiscard]] DeepPrelude* newDeepObjectInternal(lua_State* L) const override; void deleteDeepObjectInternal(lua_State* L, DeepPrelude* o_) const override; void createMetatable(lua_State* L_) const override { luaL_getmetatable(L_, "deep"); } - char const* moduleName() const override { return "deep_test"; } + [[nodiscard]] char const* moduleName() const override { return "deep_test"; } }; /*static*/ MyDeepFactory MyDeepFactory::Instance{}; -- cgit v1.2.3-55-g6feb