History

fix some warnings

HifiExperiments committed 2 years ago

Commit e6f462e1 parent 53de22f21 files · +66 −48Browse files

Showing the changes to interface/src/Application.cpp (1 of 21 files). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -7657,7 +7657,7 @@ void Application::registerScriptEngineWithApplicationServices(ScriptManagerPoint · 7656 unmodified lines
76577657
76587658 {
76597659 auto connection = std::make_shared<QMetaObject::Connection>();
7660− *connection = scriptManager->connect(scriptManager.get(), &ScriptManager::scriptEnding, [scriptManager, connection]() {
7660+ *connection = scriptManager->connect(scriptManager.get(), &ScriptManager::scriptEnding, [this, scriptManager, connection]() {
76617661 // Request removal of controller routes with callbacks to a given script engine
76627662 auto userInputMapper = DependencyManager::get<UserInputMapper>();
76637663 // scheduleScriptEndpointCleanup will have the last instance of shared pointer to script manager

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t