From ca6bcaf026dcbe2b3eb93380405e801e7e378f40 Mon Sep 17 00:00:00 2001 From: Zhihao Yuan Date: Mon, 9 Dec 2024 00:10:13 -0800 Subject: [PATCH] chore: silence self-move on AppleClang as well --- tests/move_only_function/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/move_only_function/CMakeLists.txt b/tests/move_only_function/CMakeLists.txt index e88b04e..87e051c 100644 --- a/tests/move_only_function/CMakeLists.txt +++ b/tests/move_only_function/CMakeLists.txt @@ -15,7 +15,7 @@ target_sources(run-move_only_function PRIVATE "test_unique.cpp" ) target_compile_options(run-move_only_function PRIVATE - $<$:-Wno-self-move> + $<$:-Wno-self-move> $<$:-fsized-deallocation>) target_link_libraries(run-move_only_function PRIVATE nontype_functional kris-ut) set_target_properties(run-move_only_function PROPERTIES OUTPUT_NAME run)