Skip to content

Commit 47cc09e

Browse files
committed
avoid compiler error
c:\projects\pythonscript\pythonscript\src\shortcutdlg.cpp(96): error C2429: attribute 'fallthrough' requires compiler flag '/std:c++17' [C:\projects\pythonscript\PythonScript\project\PythonScript2010.vcxproj]
1 parent 05c0534 commit 47cc09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonScript/src/ShortcutDlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ INT_PTR CALLBACK ShortcutDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
9393
case IDOK:
9494
saveConfig();
9595
MenuManager::getInstance()->reconfigure();
96-
[[fallthrough]];
96+
//not available before c++17 [[fallthrough]];
9797
//lint -fallthrough
9898

9999
case IDCANCEL:

0 commit comments

Comments
 (0)