From e70368f10e460e261c2e3a320050582fcbcbfe41 Mon Sep 17 00:00:00 2001 From: Lauro Moura Date: Tue, 23 Jan 2018 20:55:50 -0300 Subject: [PATCH] eolian_cxx: Fix "unused parameter" warnings The Klass(Klass &&other) one was causing "synthesized method ... first required here' warnings on Windows gcc-4.8. --- src/lib/eolian_cxx/grammar/class_definition.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/eolian_cxx/grammar/class_definition.hpp b/src/lib/eolian_cxx/grammar/class_definition.hpp index b282f71bf9..89455eda16 100644 --- a/src/lib/eolian_cxx/grammar/class_definition.hpp +++ b/src/lib/eolian_cxx/grammar/class_definition.hpp @@ -55,10 +55,10 @@ struct class_definition_generator << scope_tab << string << "(std::nullptr_t)\n" << scope_tab << scope_tab << ": ::efl::eo::concrete(nullptr) {}\n" << scope_tab << "explicit " << string << "() = default;\n" - << scope_tab << string << "(" << string << " const& other) = default;\n" - << scope_tab << string << "(" << string << "&& other) = default;\n" - << scope_tab << string << "& operator=(" << string << " const& other) = default;\n" - << scope_tab << string << "& operator=(" << string << "&& other) = default;\n" + << scope_tab << string << "(" << string << " const&) = default;\n" + << scope_tab << string << "(" << string << "&&) = default;\n" + << scope_tab << string << "& operator=(" << string << " const&) = default;\n" + << scope_tab << string << "& operator=(" << string << "&&) = default;\n" << scope_tab << "template \n" << scope_tab << string << "(Derived&& derived\n" << scope_tab << scope_tab << ", typename std::enable_if<\n"