eina-cxx: Replace throws with EFL_CXX_THROW.

This commit is contained in:
Savio S. Machado 2014-10-09 14:00:56 -03:00
parent 4ea75113ca
commit 1bea224203
1 changed files with 2 additions and 2 deletions

View File

@ -637,7 +637,7 @@ public:
if(eina_array_push(this->_impl._array, p.get())) if(eina_array_push(this->_impl._array, p.get()))
p.release(); p.release();
else else
throw std::bad_alloc(); EFL_CXX_THROW(std::bad_alloc());
} }
/** /**
@ -729,7 +729,7 @@ public:
return iterator(this->_impl._array->data + j); return iterator(this->_impl._array->data + j);
} }
else else
throw std::bad_alloc(); EFL_CXX_THROW(std::bad_alloc());
} }
/** /**