Skip to content
Snippets Groups Projects
Commit 36b8920a authored by leggett's avatar leggett
Browse files

use [[fallthrough]] instead of suppressing warning

parent fde5374b
No related branches found
No related tags found
1 merge request!784Seedfinder test: specify input file on command line, quiet output
add_executable(SeedfinderTest SeedfinderTest.cpp)
add_definitions(-Wno-implicit-fallthrough)
target_link_libraries(SeedfinderTest PRIVATE ActsCore Boost::boost)
......@@ -82,6 +82,7 @@ int main(int argc, char** argv) {
break;
case 'h':
help = true;
[[fallthrough]];
default: /* '?' */
std::cerr << "Usage: " << argv[0] << " [-hq] [-f FILENAME]\n";
if (help) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment