Replace fallthrough comment with C++17's attribute (#334)
This commit is contained in:
parent
47f4757f07
commit
94f0e8b320
@ -292,7 +292,7 @@ namespace CalculationManager
|
||||
break;
|
||||
case Command::CommandFE:
|
||||
m_isExponentialFormat = !m_isExponentialFormat;
|
||||
// fall through
|
||||
[[fallthrough]];
|
||||
default:
|
||||
m_currentCalculatorEngine->ProcessCommand(static_cast<WPARAM>(command));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user