Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecated implicit capture with C++20 #32

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

morotsgurka
Copy link
Contributor

When trying to use the plugin with Unreal Engine 5.3.1 and Visual Studio 2022 (17.7.5) i got the following error:
C4855 implicit capture of 'this' via '[=]' is deprecated in '/std:c++20'
Found more information on Microsofts documentation page on the error (not much though)

Changes made:

  • Replaced [=] capture specifier with [this] in lambda expressions within the MqttRunnable.cpp file.

The modification removes the compile issues and the project opens and runs fine now.

@tustanivsky tustanivsky merged commit dbf1c0c into NinevaStudios:master Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants