From a77dc2387e1cf29ac54b0d4d179be528ecf3a584 Mon Sep 17 00:00:00 2001 From: Mingxin Wang Date: Mon, 25 Dec 2023 11:45:11 +0800 Subject: [PATCH] Reduce warning --- tests/proxy_traits_tests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/proxy_traits_tests.cpp b/tests/proxy_traits_tests.cpp index e4cf4b1..4a34658 100644 --- a/tests/proxy_traits_tests.cpp +++ b/tests/proxy_traits_tests.cpp @@ -22,8 +22,7 @@ using MockMovablePtr = MockPtr; using MockCopyableSmallPtr = MockPtr; using MockTrivialPtr = MockPtr; -void MockFunction() {} -using MockFunctionPtr = decltype(&MockFunction); +using MockFunctionPtr = void(*)(); PRO_DEF_FACADE(DefaultFacade); static_assert(DefaultFacade::pointer_constraints.minimum_copyability == pro::constraint_level::none);