Skip to content

Commit

Permalink
use C++17 [[fallthrough]]
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Sep 10, 2024
1 parent aab4c9f commit 83c0954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/heif_dec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ int main(int argc, char** argv)
break;
case '?':
std::cerr << "\n";
// fallthrough
[[fallthrough]];
case 'h':
show_help(argv[0]);
return 0;
Expand Down

0 comments on commit 83c0954

Please sign in to comment.