diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2018-01-23 20:55:50 -0300 |
---|---|---|
committer | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2018-01-25 15:56:08 -0300 |
commit | e70368f10e460e261c2e3a320050582fcbcbfe41 (patch) | |
tree | ffc66d54f1a33c0c8bed06f9c859696de8036f76 /src/lib/eolian_cxx | |
parent | 72d92a71ce288ef476fcf6fae9865ad84858780c (diff) |
eolian_cxx: Fix "unused parameter" warnings
The Klass(Klass &&other) one was causing "synthesized method ... first
required here' warnings on Windows gcc-4.8.
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r-- | src/lib/eolian_cxx/grammar/class_definition.hpp | 8 |
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 | |||
55 | << scope_tab << string << "(std::nullptr_t)\n" | 55 | << scope_tab << string << "(std::nullptr_t)\n" |
56 | << scope_tab << scope_tab << ": ::efl::eo::concrete(nullptr) {}\n" | 56 | << scope_tab << scope_tab << ": ::efl::eo::concrete(nullptr) {}\n" |
57 | << scope_tab << "explicit " << string << "() = default;\n" | 57 | << scope_tab << "explicit " << string << "() = default;\n" |
58 | << scope_tab << string << "(" << string << " const& other) = default;\n" | 58 | << scope_tab << string << "(" << string << " const&) = default;\n" |
59 | << scope_tab << string << "(" << string << "&& other) = default;\n" | 59 | << scope_tab << string << "(" << string << "&&) = default;\n" |
60 | << scope_tab << string << "& operator=(" << string << " const& other) = default;\n" | 60 | << scope_tab << string << "& operator=(" << string << " const&) = default;\n" |
61 | << scope_tab << string << "& operator=(" << string << "&& other) = default;\n" | 61 | << scope_tab << string << "& operator=(" << string << "&&) = default;\n" |
62 | << scope_tab << "template <typename Derived>\n" | 62 | << scope_tab << "template <typename Derived>\n" |
63 | << scope_tab << string << "(Derived&& derived\n" | 63 | << scope_tab << string << "(Derived&& derived\n" |
64 | << scope_tab << scope_tab << ", typename std::enable_if<\n" | 64 | << scope_tab << scope_tab << ", typename std::enable_if<\n" |