Skip to content

Commit

Permalink
fix unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-ce committed Jan 16, 2024
1 parent 8050a14 commit 9d2d3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml_catch2_console/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int main( int argc, char* argv[] ) {
const int argc_2 = argc + 1;
const auto retval = Catch::Session().run(argc_2, argv_2.data());
std::cout << "Catch::Session finished with exit code " << retval << std::endl;
QTimer::singleShot(10000, [retval]() { QCoreApplication::quit(); });
QTimer::singleShot(10000, []() { QCoreApplication::quit(); });
});
return app.exec();
}

0 comments on commit 9d2d3b1

Please sign in to comment.