summaryrefslogtreecommitdiff
path: root/plugins/warp/ui
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/ui')
-rw-r--r--plugins/warp/ui/CMakeLists.txt2
-rw-r--r--plugins/warp/ui/matches.cpp2
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.