From 40decd68d40748a4ac719234814501101cb16615 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sun, 16 Aug 2015 00:38:52 +0200 Subject: [PATCH] partial revert of preceding: rejected by GCC this was an half hearted attempt to satisfy CLang, but GCC as keen as a razor insists on these inherited functions not being accessible -- seems like the time is over, when GCC used to be forgiving and CLang briliantly precise... So the conclusion of this "round trip" is: whenever GCC also starts whining about shadowed overloaded virtual functions, we'll just switch to "-Wno-overloaded-virtual" and be done with that pointless discussion. Since C++11, we have the Java style override specifier, which does a way better job at spotting signature mismatches --- src/lib/meta/virtual-copy-support.hpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/lib/meta/virtual-copy-support.hpp b/src/lib/meta/virtual-copy-support.hpp index fee8effa4..0e502f579 100644 --- a/src/lib/meta/virtual-copy-support.hpp +++ b/src/lib/meta/virtual-copy-support.hpp @@ -200,9 +200,6 @@ namespace meta{ D& src = static_cast (*this); new(targetStorage) D(move(src)); } - - using I::copyInto; - using I::moveInto; }; @@ -216,9 +213,6 @@ namespace meta{ D const& src = static_cast (*this); new(targetStorage) D(src); } - - using I::copyInto; - using I::moveInto; }; @@ -241,9 +235,6 @@ namespace meta{ D& s = static_cast (*this); t = move(s); } - - using I::copyInto; - using I::moveInto; };