1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 06:45:35 +00:00

can not be implitic about this capture in c++20

This commit is contained in:
Bret Curtis 2022-06-11 11:22:53 +02:00
parent addd35be02
commit ebda783a58

View file

@ -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>)