savio pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1bea2242030112b13442aa044e8b92daf4c26da3

commit 1bea2242030112b13442aa044e8b92daf4c26da3
Author: Savio S. Machado <[email protected]>
Date:   Thu Oct 9 14:00:56 2014 -0300

    eina-cxx: Replace throws with EFL_CXX_THROW.
---
 src/bindings/eina_cxx/eina_ptrarray.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bindings/eina_cxx/eina_ptrarray.hh 
b/src/bindings/eina_cxx/eina_ptrarray.hh
index 0b994e9..ecb4f97 100644
--- a/src/bindings/eina_cxx/eina_ptrarray.hh
+++ b/src/bindings/eina_cxx/eina_ptrarray.hh
@@ -637,7 +637,7 @@ public:
     if(eina_array_push(this->_impl._array, p.get()))
       p.release();
     else
-      throw std::bad_alloc();
+      EFL_CXX_THROW(std::bad_alloc());
   }
 
   /**
@@ -729,7 +729,7 @@ public:
         return iterator(this->_impl._array->data + j);
       }
     else
-      throw std::bad_alloc();
+      EFL_CXX_THROW(std::bad_alloc());
   }
 
   /**

-- 


Reply via email to