From cde1c38689188efbfd47cd9509beb348284d486b Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 1 Aug 2025 00:09:42 -0700 Subject: Update remaining projects to C++20 --- plugins/warp/ui/CMakeLists.txt | 2 +- plugins/warp/ui/matches.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/warp/ui') diff --git a/plugins/warp/ui/CMakeLists.txt b/plugins/warp/ui/CMakeLists.txt index e266452c..c3e5bcf6 100644 --- a/plugins/warp/ui/CMakeLists.txt +++ b/plugins/warp/ui/CMakeLists.txt @@ -34,7 +34,7 @@ endif () target_link_libraries(${PROJECT_NAME} binaryninjaui warp_api Qt6::Core Qt6::Gui Qt6::Widgets) set_target_properties(${PROJECT_NAME} PROPERTIES - CXX_STANDARD 17 + CXX_STANDARD 20 CXX_VISIBILITY_PRESET hidden CXX_STANDARD_REQUIRED ON VISIBILITY_INLINES_HIDDEN ON diff --git a/plugins/warp/ui/matches.cpp b/plugins/warp/ui/matches.cpp index ed77085a..7e22e224 100644 --- a/plugins/warp/ui/matches.cpp +++ b/plugins/warp/ui/matches.cpp @@ -81,7 +81,7 @@ WarpCurrentFunctionWidget::WarpCurrentFunctionWidget(FunctionRef current) }); - connect(m_tableWidget->GetTableView(), &QTableView::doubleClicked, this, [=](const QModelIndex &index) { + connect(m_tableWidget->GetTableView(), &QTableView::doubleClicked, this, [=, this](const QModelIndex &index) { if (m_current == nullptr) return; // Get the selected row for the given index. -- cgit v1.3.1