forked from enlightenment/efl
eina-cxx: Replace throws with EFL_CXX_THROW.
This commit is contained in:
parent
4ea75113ca
commit
1bea224203
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue