eolian-cxx: Relevant cosmetics.

This commit is contained in:
Savio Sena 2014-07-17 04:06:07 -03:00 committed by Felipe Magno de Almeida
parent 5d61edabd8
commit 04d90ae131
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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))
{