Skip to content

Commit cde1c38

Browse files
committed
Update remaining projects to C++20
1 parent 72e0b2f commit cde1c38

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

defaultabb/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if(UNIX AND NOT APPLE)
3333
endif()
3434

3535
set_target_properties(defaultabb PROPERTIES
36-
CXX_STANDARD 17
36+
CXX_STANDARD 20
3737
CXX_VISIBILITY_PRESET hidden
3838
CXX_STANDARD_REQUIRED ON
3939
C_STANDARD 99

plugins/efi_resolver/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ file(
2626
add_library(efi_resolver SHARED ${SOURCE_FILES})
2727
target_link_libraries(efi_resolver binaryninjaapi)
2828
target_include_directories(${PROJECT_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include")
29-
target_compile_features(efi_resolver PRIVATE cxx_std_17 c_std_99)
29+
target_compile_features(efi_resolver PRIVATE cxx_std_20 c_std_99)
3030

3131
# Library targets linking against the Binary Ninja API need to be compiled with
3232
# position-independent code on Linux.

plugins/warp/api/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ else ()
4141
endif()
4242

4343
set_target_properties(warp_api PROPERTIES
44-
CXX_STANDARD 17
44+
CXX_STANDARD 20
4545
CXX_VISIBILITY_PRESET hidden
4646
CXX_STANDARD_REQUIRED ON
4747
VISIBILITY_INLINES_HIDDEN ON

plugins/warp/api/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ target_link_libraries(warp_generator binaryninjaapi)
1414
target_include_directories(warp_generator PUBLIC {PROJECT_SOURCE_DIR}/../../api)
1515

1616
set_target_properties(warp_generator PROPERTIES
17-
CXX_STANDARD 17
17+
CXX_STANDARD 20
1818
CXX_STANDARD_REQUIRED ON
1919
BUILD_WITH_INSTALL_RPATH OFF
2020
RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR})

plugins/warp/ui/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ endif ()
3434
target_link_libraries(${PROJECT_NAME} binaryninjaui warp_api Qt6::Core Qt6::Gui Qt6::Widgets)
3535

3636
set_target_properties(${PROJECT_NAME} PROPERTIES
37-
CXX_STANDARD 17
37+
CXX_STANDARD 20
3838
CXX_VISIBILITY_PRESET hidden
3939
CXX_STANDARD_REQUIRED ON
4040
VISIBILITY_INLINES_HIDDEN ON

plugins/warp/ui/matches.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ WarpCurrentFunctionWidget::WarpCurrentFunctionWidget(FunctionRef current)
8181
});
8282

8383

84-
connect(m_tableWidget->GetTableView(), &QTableView::doubleClicked, this, [=](const QModelIndex &index) {
84+
connect(m_tableWidget->GetTableView(), &QTableView::doubleClicked, this, [=, this](const QModelIndex &index) {
8585
if (m_current == nullptr)
8686
return;
8787
// Get the selected row for the given index.

plugins/workflow_objc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ set(PLUGIN_SOURCE
2727

2828
add_library(workflow_objc SHARED ${PLUGIN_SOURCE})
2929
target_link_libraries(workflow_objc binaryninjaapi)
30-
target_compile_features(workflow_objc PRIVATE cxx_std_17 c_std_99)
30+
target_compile_features(workflow_objc PRIVATE cxx_std_20 c_std_99)
3131

3232
# Library targets linking against the Binary Ninja API need to be compiled with
3333
# position-independent code on Linux.

0 commit comments

Comments
 (0)