mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-13 01:56:50 -07:00
Replace fallthrough comment with C++17's attribute (#334)
This commit is contained in:
parent
47f4757f07
commit
94f0e8b320
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue