File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -388,47 +388,47 @@ void SpookyHash::Short(
388388 {
389389 case 15 :
390390 d += ((uint64)u.p8 [14 ]) << 48 ;
391- // FALLTHRU
391+ [[fallthrough]];
392392 case 14 :
393393 d += ((uint64)u.p8 [13 ]) << 40 ;
394- // FALLTHRU
394+ [[fallthrough]];
395395 case 13 :
396396 d += ((uint64)u.p8 [12 ]) << 32 ;
397- // FALLTHRU
397+ [[fallthrough]];
398398 case 12 :
399399 d += u.p32 [2 ];
400400 c += u.p64 [0 ];
401401 break ;
402402 case 11 :
403403 d += ((uint64)u.p8 [10 ]) << 16 ;
404- // FALLTHRU
404+ [[fallthrough]];
405405 case 10 :
406406 d += ((uint64)u.p8 [9 ]) << 8 ;
407- // FALLTHRU
407+ [[fallthrough]];
408408 case 9 :
409409 d += (uint64)u.p8 [8 ];
410- // FALLTHRU
410+ [[fallthrough]];
411411 case 8 :
412412 c += u.p64 [0 ];
413413 break ;
414414 case 7 :
415415 c += ((uint64)u.p8 [6 ]) << 48 ;
416- // FALLTHRU
416+ [[fallthrough]];
417417 case 6 :
418418 c += ((uint64)u.p8 [5 ]) << 40 ;
419- // FALLTHRU
419+ [[fallthrough]];
420420 case 5 :
421421 c += ((uint64)u.p8 [4 ]) << 32 ;
422- // FALLTHRU
422+ [[fallthrough]];
423423 case 4 :
424424 c += u.p32 [0 ];
425425 break ;
426426 case 3 :
427427 c += ((uint64)u.p8 [2 ]) << 16 ;
428- // FALLTHRU
428+ [[fallthrough]];
429429 case 2 :
430430 c += ((uint64)u.p8 [1 ]) << 8 ;
431- // FALLTHRU
431+ [[fallthrough]];
432432 case 1 :
433433 c += (uint64)u.p8 [0 ];
434434 break ;
You can’t perform that action at this time.
0 commit comments