mirror of
https://github.com/Microsoft/calculator.git
synced 2025-07-31 03:50:02 -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;
|
||||
case Command::CommandFE:
|
||||
m_isExponentialFormat = !m_isExponentialFormat;
|
||||
// fall through
|
||||
[[fallthrough]];
|
||||
default:
|
||||
m_currentCalculatorEngine->ProcessCommand(static_cast<WPARAM>(command));
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue