forked from enlightenment/efl
eolian-cxx: Relevant cosmetics.
This commit is contained in:
parent
5d61edabd8
commit
04d90ae131
|
@ -114,7 +114,7 @@ type_is_binding(eolian_type_instance const& type)
|
|||
inline eolian_type
|
||||
type_to_native(eolian_type const& type)
|
||||
{
|
||||
eolian_type native = type;
|
||||
eolian_type native(type);
|
||||
native.binding.clear();
|
||||
native.category = eolian_type::simple_;
|
||||
return native;
|
||||
|
|
|
@ -51,7 +51,7 @@ _is_valid(events_container_type const& events)
|
|||
|
||||
template <typename T>
|
||||
inline void
|
||||
_validate(T val, const eo_class& cls)
|
||||
_validate(T const& val, eo_class const& cls)
|
||||
{
|
||||
if(!_is_valid(val))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue