diff options
| author | Mark Rowe <mark@vector35.com> | 2025-08-01 00:09:42 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-08-08 22:01:27 -0700 |
| commit | cde1c38689188efbfd47cd9509beb348284d486b (patch) | |
| tree | 32b23339fb9919c17da3fe2cc30ee59a137469f3 /plugins/warp/ui | |
| parent | 72e0b2f89352bf45af44629c97741977090dcd78 (diff) | |
Update remaining projects to C++20
Diffstat (limited to 'plugins/warp/ui')
| -rw-r--r-- | plugins/warp/ui/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | plugins/warp/ui/matches.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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. |
