Skip to content

Commit b33608b

Browse files
authored
Merge pull request #721 from esaulenka/fix/CppStandard17
Update required C++ standard to C++17
2 parents 51ef3f9 + 3bab2ec commit b33608b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

SavvyCAN.pro

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ QT = core gui printsupport qml serialbus serialport widgets help network opengl
88

99
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
1010

11-
CONFIG += c++11
11+
CONFIG += c++17
1212
CONFIG += NO_UNIT_TESTS
1313

1414
DEFINES += QCUSTOMPLOT_USE_OPENGL

connections/lawicel_serial.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ void LAWICELSerial::readSerialData()
551551
break;
552552
case 'b':
553553
buildFrame.setBitrateSwitch(true); //BRS enabled
554+
[[fallthrough]];
554555
case 'd': //standard fd frame, BRS disabled
555556
//tIIILDD
556557
buildFrame.setFlexibleDataRateFormat(true);
@@ -581,6 +582,7 @@ void LAWICELSerial::readSerialData()
581582
break;
582583
case 'B':
583584
buildFrame.setBitrateSwitch(true); //BRS enabled
585+
[[fallthrough]];
584586
case 'D': //extended fd frame
585587
//TIIIIIIIILDD.
586588
buildFrame.setFlexibleDataRateFormat(true);

0 commit comments

Comments
 (0)