summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-12-21 16:04:43 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-12-21 16:09:37 +0100
commit8fa3f39e3113f3d50cad96d01fbbe48b491fc07e (patch)
tree506a4e51d054d75437b55d705ad2f35b156f710f /src/bin/eolian_mono
parent3b9f8f8d6aab609ad6411d1b489a217b66293492 (diff)
efl-mono: Remove warnings
Test Plan: run tests Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7501
Diffstat (limited to 'src/bin/eolian_mono')
-rw-r--r--src/bin/eolian_mono/eolian/mono/function_definition.hh4
-rw-r--r--src/bin/eolian_mono/eolian/mono/name_helpers.hh4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/function_definition.hh b/src/bin/eolian_mono/eolian/mono/function_definition.hh
index 7561360..b0e2e5e 100644
--- a/src/bin/eolian_mono/eolian/mono/function_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/function_definition.hh
@@ -213,8 +213,8 @@ struct property_wrapper_definition_generator
213 return true; 213 return true;
214 214
215 bool interface = context_find_tag<class_context>(context).current_wrapper_kind == class_context::interface; 215 bool interface = context_find_tag<class_context>(context).current_wrapper_kind == class_context::interface;
216 bool is_static = (property.getter.is_engaged() && property.getter->is_static 216 bool is_static = (property.getter.is_engaged() && property.getter->is_static)
217 || property.setter.is_engaged() && property.setter->is_static); 217 || (property.setter.is_engaged() && property.setter->is_static);
218 218
219 219
220 if (interface && is_static) 220 if (interface && is_static)
diff --git a/src/bin/eolian_mono/eolian/mono/name_helpers.hh b/src/bin/eolian_mono/eolian/mono/name_helpers.hh
index d953a09..05e1e4a 100644
--- a/src/bin/eolian_mono/eolian/mono/name_helpers.hh
+++ b/src/bin/eolian_mono/eolian/mono/name_helpers.hh
@@ -329,9 +329,9 @@ struct klass_full_concrete_or_interface_name_generator
329 case attributes::class_type::abstract_: 329 case attributes::class_type::abstract_:
330 case attributes::class_type::regular: 330 case attributes::class_type::regular:
331 return klass_full_concrete_name(klass); 331 return klass_full_concrete_name(klass);
332 default:
333 return klass_full_interface_name(klass);
332 } 334 }
333 return klass_full_interface_name(klass);
334
335 } 335 }
336 336
337 template <typename OutputIterator, typename Context> 337 template <typename OutputIterator, typename Context>