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/linda.cpp | |
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/linda.cpp')
-rw-r--r-- | src/linda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linda.cpp b/src/linda.cpp index 8d09903..76cd347 100644 --- a/src/linda.cpp +++ b/src/linda.cpp | |||
@@ -100,7 +100,7 @@ template <bool OPT> | |||
100 | Linda* const _linda{ static_cast<Linda*>(LindaFactory::Instance.toDeep(L_, idx_)) }; | 100 | Linda* const _linda{ static_cast<Linda*>(LindaFactory::Instance.toDeep(L_, idx_)) }; |
101 | if constexpr (!OPT) { | 101 | if constexpr (!OPT) { |
102 | luaL_argcheck(L_, _linda != nullptr, idx_, "expecting a linda object"); // doesn't return if linda is nullptr | 102 | luaL_argcheck(L_, _linda != nullptr, idx_, "expecting a linda object"); // doesn't return if linda is nullptr |
103 | LUA_ASSERT(L_, _linda->U == universe_get(L_)); | 103 | LUA_ASSERT(L_, _linda->U == Universe::Get(L_)); |
104 | } | 104 | } |
105 | return _linda; | 105 | return _linda; |
106 | } | 106 | } |