Browse code

Port: Use [[fallthrough]] attribute.

Clarissa Walker authored on 2024/08/22 20:58:59
Showing 2 changed files
1 1
deleted file mode 100644
2 2
Binary files a/src/in_ncsf/SSEQPlayer/.Channel.cpp.kate-swp and /dev/null differ
... ...
@@ -461,7 +461,7 @@ void Channel::Update()
461 461
 			this->reg.totalLength = this->reg.loopStart + this->reg.length;
462 462
 			this->ampl = AMPL_THRESHOLD;
463 463
 			this->state = ChannelState::Attack;
464
-			// fallthrough
464
+			[[fallthrough]];
465 465
 		case ChannelState::Attack:
466 466
 		{
467 467
 			int newAmpl = this->ampl;