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;
|
break;
|
||||||
case Command::CommandFE:
|
case Command::CommandFE:
|
||||||
m_isExponentialFormat = !m_isExponentialFormat;
|
m_isExponentialFormat = !m_isExponentialFormat;
|
||||||
// fall through
|
[[fallthrough]];
|
||||||
default:
|
default:
|
||||||
m_currentCalculatorEngine->ProcessCommand(static_cast<WPARAM>(command));
|
m_currentCalculatorEngine->ProcessCommand(static_cast<WPARAM>(command));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user