diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-29 17:31:45 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-29 17:31:45 +0200 |
commit | a156aaeb07fada043b308409dcffcae1726eec0b (patch) | |
tree | f15a5d60cda30607260d896598ea33f8619af53a /src/deep.h | |
parent | d47758d58d532a9716ad4fd85cc806704df13735 (diff) | |
download | lanes-a156aaeb07fada043b308409dcffcae1726eec0b.tar.gz lanes-a156aaeb07fada043b308409dcffcae1726eec0b.tar.bz2 lanes-a156aaeb07fada043b308409dcffcae1726eec0b.zip |
Fix clang-tidy issues (most notably Microsoft-specific explicit constructor calls)
Diffstat (limited to 'src/deep.h')
-rw-r--r-- | src/deep.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -64,21 +64,21 @@ class DeepFactory | |||
64 | 64 | ||
65 | private: | 65 | private: |
66 | // NVI: private overrides | 66 | // NVI: private overrides |
67 | virtual void createMetatable(lua_State* const L_) const = 0; | 67 | virtual void createMetatable(lua_State* L_) const = 0; |
68 | virtual void deleteDeepObjectInternal(lua_State* const L_, DeepPrelude* const o_) const = 0; | 68 | virtual void deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const = 0; |
69 | [[nodiscard]] virtual DeepPrelude* newDeepObjectInternal(lua_State* const L_) const = 0; | 69 | [[nodiscard]] virtual DeepPrelude* newDeepObjectInternal(lua_State* L_) const = 0; |
70 | [[nodiscard]] virtual std::string_view moduleName() const = 0; | 70 | [[nodiscard]] virtual std::string_view moduleName() const = 0; |
71 | 71 | ||
72 | private: | 72 | private: |
73 | void storeDeepLookup(lua_State* const L_) const; | 73 | void storeDeepLookup(lua_State* L_) const; |
74 | 74 | ||
75 | public: | 75 | public: |
76 | // NVI: public interface | 76 | // NVI: public interface |
77 | static void DeleteDeepObject(lua_State* const L_, DeepPrelude* const o_); | 77 | static void DeleteDeepObject(lua_State* L_, DeepPrelude* o_); |
78 | [[nodiscard]] static DeepFactory* LookupFactory(lua_State* const L_, int const index_, LookupMode const mode_); | 78 | [[nodiscard]] static DeepFactory* LookupFactory(lua_State* L_, int index_, LookupMode mode_); |
79 | static void PushDeepProxy(DestState const L_, DeepPrelude* const o_, int const nuv_, LookupMode const mode_, lua_State* const errL_); | 79 | static void PushDeepProxy(DestState L_, DeepPrelude* o_, int nuv_, LookupMode mode_, lua_State* errL_); |
80 | [[nodiscard]] int pushDeepUserdata(DestState const L_, int const nuv_) const; | 80 | [[nodiscard]] int pushDeepUserdata(DestState L_, int nuv_) const; |
81 | [[nodiscard]] DeepPrelude* toDeep(lua_State* const L_, int const index_) const; | 81 | [[nodiscard]] DeepPrelude* toDeep(lua_State* L_, int index_) const; |
82 | }; | 82 | }; |
83 | 83 | ||
84 | // ################################################################################################# | 84 | // ################################################################################################# |