Replace fallthrough comment with C++17's attribute

This commit is contained in:
Michał Janiszewski 2019-03-18 23:29:34 +01:00
commit f3cd2205ce

View file

@ -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;