From 22661e2998b162c9409d4af4d04fe37cbf3ec527 Mon Sep 17 00:00:00 2001 From: Bj?rn Fahller Date: Sun, 20 Jan 2019 11:33:41 +0100 Subject: [PATCH] Silenced g++ -Wignored-qualifiers warning --- include/trompeloeil.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/trompeloeil.hpp b/include/trompeloeil.hpp index 435c6fcc..826b059f 100644 --- a/include/trompeloeil.hpp +++ b/include/trompeloeil.hpp @@ -4298,8 +4298,8 @@ template using pmf_e_t = typename ::trompeloeil::signature_to_member_function< \ T_ ## name, TROMPELOEIL_LINE_ID(tag_type_trompeloeil), sig>::type const; \ \ - auto s_ptr = static_cast(&T_ ## name::trompeloeil_self_ ## name); \ - auto e_ptr = static_cast(&T_ ## name::trompeloeil_tag_ ## name); \ + pmf_s_t const s_ptr = &T_ ## name::trompeloeil_self_ ## name; \ + pmf_e_t const e_ptr = &T_ ## name::trompeloeil_tag_ ## name; \ \ ::trompeloeil::ignore(s_ptr, e_ptr); \ \