try different annotated fallthrough
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ target_compile_definitions(${OLIVE_TARGET} PRIVATE ${OLIVE_DEFINITIONS})
|
||||
if(MSVC)
|
||||
target_compile_options(${OLIVE_TARGET} PRIVATE /W4 /WX)
|
||||
else()
|
||||
target_compile_options(${OLIVE_TARGET} PRIVATE -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion>)
|
||||
target_compile_options(${OLIVE_TARGET} PRIVATE -Werror -Wuninitialized -pedantic-errors -Wall -Wextra -Wconversion -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
target_include_directories(
|
||||
|
||||
@@ -161,7 +161,7 @@ void Footage::UpdateIcon()
|
||||
break;
|
||||
|
||||
}
|
||||
[[clang::fallthrough]];
|
||||
/* fall through */
|
||||
case kInvalid:
|
||||
set_icon(olive::icon::Error);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user