mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 03:45:34 +00:00
can not be implitic about this capture in c++20
This commit is contained in:
parent
addd35be02
commit
ebda783a58
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@ namespace fx
|
|||
|
||||
for (auto t = mLexer->next(); !std::holds_alternative<Lexer::Eof>(t); t = mLexer->next())
|
||||
{
|
||||
std::visit([=](auto&& arg) {
|
||||
std::visit([this](auto&& arg) {
|
||||
using T = std::decay_t<decltype(arg)>;
|
||||
|
||||
if constexpr (std::is_same_v<Lexer::Shared, T>)
|
||||
|
|
Loading…
Reference in a new issue