mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System: Enable and use c++20
Enable c++20 in top level cmake. Keep c++17 for GrpcInterface, as the protoc tool does not work with c++20. Several code adjustments to fix compiler issues.
This commit is contained in:
@@ -89,6 +89,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
-Wno-braced-scalar-init
|
||||
-Wno-tautological-constant-out-of-range-compare
|
||||
-Wno-undefined-var-template
|
||||
-Wno-ambiguous-reversed-operator
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ void RicCreatePlotFromTemplateByShortcutFeature::setupActionLook( QAction* actio
|
||||
actionToSetup->setText( "Create Plot from Last Used Template" );
|
||||
actionToSetup->setIcon( QIcon( ":/SummaryTemplate16x16.png" ) );
|
||||
|
||||
QKeySequence keySeq( Qt::CTRL + Qt::Key_T );
|
||||
QKeySequence keySeq( Qt::CTRL, Qt::Key_T );
|
||||
|
||||
applyShortcutWithHintToAction( actionToSetup, keySeq );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user