You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on the NovelRT discord, currently there is code that does not compile in C++ 20, this has to do with a behavior change in std::accumulate.
As mentioned in discord, passing in nlohmann::json result as a value instead of a reference in the lambda function seems like the best way forward, it builds on both C++ 17 and C++ 20.
The text was updated successfully, but these errors were encountered:
As discussed on the NovelRT discord, currently there is code that does not compile in C++ 20, this has to do with a behavior change in std::accumulate.
Fabulist/compiler/lib/compiler/save.cpp
Lines 71 to 98 in 4e97124
As mentioned in discord, passing in
nlohmann::json result
as a value instead of a reference in the lambda function seems like the best way forward, it builds on both C++ 17 and C++ 20.The text was updated successfully, but these errors were encountered: