summaryrefslogtreecommitdiff
path: root/plugins/warp
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-08-01 00:09:42 -0700
committerMark Rowe <mark@vector35.com>2025-08-08 22:01:27 -0700
commitcde1c38689188efbfd47cd9509beb348284d486b (patch)
tree32b23339fb9919c17da3fe2cc30ee59a137469f3 /plugins/warp
parent72e0b2f89352bf45af44629c97741977090dcd78 (diff)
Update remaining projects to C++20
Diffstat (limited to 'plugins/warp')
-rw-r--r--plugins/warp/api/CMakeLists.txt2
-rw-r--r--plugins/warp/api/python/CMakeLists.txt2
-rw-r--r--plugins/warp/ui/CMakeLists.txt2
-rw-r--r--plugins/warp/ui/matches.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/warp/api/CMakeLists.txt b/plugins/warp/api/CMakeLists.txt
index fe58e924..6d548e6d 100644
--- a/plugins/warp/api/CMakeLists.txt
+++ b/plugins/warp/api/CMakeLists.txt
@@ -41,7 +41,7 @@ else ()
endif()
set_target_properties(warp_api PROPERTIES
- CXX_STANDARD 17
+ CXX_STANDARD 20
CXX_VISIBILITY_PRESET hidden
CXX_STANDARD_REQUIRED ON
VISIBILITY_INLINES_HIDDEN ON
diff --git a/plugins/warp/api/python/CMakeLists.txt b/plugins/warp/api/python/CMakeLists.txt
index 7c616bc3..c51e24b9 100644
--- a/plugins/warp/api/python/CMakeLists.txt
+++ b/plugins/warp/api/python/CMakeLists.txt
@@ -14,7 +14,7 @@ target_link_libraries(warp_generator binaryninjaapi)
target_include_directories(warp_generator PUBLIC {PROJECT_SOURCE_DIR}/../../api)
set_target_properties(warp_generator PROPERTIES
- CXX_STANDARD 17
+ CXX_STANDARD 20
CXX_STANDARD_REQUIRED ON
BUILD_WITH_INSTALL_RPATH OFF
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})
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.