Skip to content

Commit 4aaaca1

Browse files
style: pre-commit fixes
1 parent cdd5d08 commit 4aaaca1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,8 @@ foreach(target ${test_targets})
541541

542542
if("${target}" STREQUAL "pybind11_pytorch_regressions")
543543
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
544-
target_compile_options(
545-
${target}
546-
PRIVATE -Werror=deprecated-copy-with-user-provided-dtor -Werror=deprecated-copy-with-dtor)
544+
target_compile_options(${target} PRIVATE -Werror=deprecated-copy-with-user-provided-dtor
545+
-Werror=deprecated-copy-with-dtor)
547546
endif()
548547
endif()
549548
endforeach()

0 commit comments

Comments
 (0)