summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-09-16 12:41:37 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-16 12:41:37 -0400
commitbdb8505f3b7318b024530d1f9559c91978a3b421 (patch)
tree6a7953960ea61163ee53311511564435cc0e6c08 /src/lib/eolian_cxx/grammar/klass_def.hpp
parent22b329d2f446468fdd9077ffca1c784ddb39f9c3 (diff)
cxx: Fix some warnings from -Wextra
Summary: - As we don't have C++17's [[fallthrough]], rely on GCC'd detection of fallthrough comments. See https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/ - Add some missing copy assignment operators as reported by -Wdeprecated-copy - Cast a Eina_Bool/bool narrowing conversion Reviewers: zmike, brunobelo, felipealmeida Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9934
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index a3f3f3d7df..609df6ecea 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -492,7 +492,7 @@ inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* uni
492 complex.subtypes.push_back({stp 492 complex.subtypes.push_back({stp
493 , unit 493 , unit
494 , ::eolian_type_c_type_get(stp) 494 , ::eolian_type_c_type_get(stp)
495 , eolian_type_is_move(stp) 495 , (bool)eolian_type_is_move(stp)
496 , is_by::value}); 496 , is_by::value});
497 stp = eolian_type_next_type_get(stp); 497 stp = eolian_type_next_type_get(stp);
498 } 498 }