summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-23 20:55:50 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-25 15:56:08 -0300
commite70368f10e460e261c2e3a320050582fcbcbfe41 (patch)
treeffc66d54f1a33c0c8bed06f9c859696de8036f76
parent72d92a71ce288ef476fcf6fae9865ad84858780c (diff)
downloadefl-e70368f10e460e261c2e3a320050582fcbcbfe41.tar.gz
eolian_cxx: Fix "unused parameter" warnings
The Klass(Klass &&other) one was causing "synthesized method ... first required here' warnings on Windows gcc-4.8.
-rw-r--r--src/lib/eolian_cxx/grammar/class_definition.hpp8
1 files 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 <typename Derived>\n"
<< scope_tab << string << "(Derived&& derived\n"
<< scope_tab << scope_tab << ", typename std::enable_if<\n"