Remove dynamic exceptions
[anna.git] / include / anna / core / mt / SafeSortedVector.hpp
index efffba4..50d308c 100644 (file)
@@ -49,7 +49,7 @@ public:
      vector o \em en otro caso.
   */
   bool contains(const T* t) const
-  throw() {
+  {
     if(t == NULL)
       return false;
 
@@ -63,7 +63,7 @@ public:
      \return \em true si ha registrado la nueva instancia o \em false en otro caso.
   */
   bool add(T* t)
-  throw(RuntimeException) {
+  noexcept(false) {
     if(t == NULL)
       return false;
 
@@ -77,7 +77,7 @@ public:
      \return \em true si ha eliminado la instancia o \em false en otro caso.
   */
   bool erase(T* t)
-  throw(RuntimeException) {
+  noexcept(false) {
     if(t == NULL)
       return false;
 
@@ -91,7 +91,7 @@ public:
      \return la instancia asociada a la clave recibida como parametro o NULL si no existe.
   */
   T* find(const TKey key)
-  throw() {
+  {
     Guard guard(this, "SafeSortedVector <T, SortBy, TKey>::find");
     return SortedVector <T, SortBy, TKey>::find(key);
   }
@@ -101,7 +101,7 @@ public:
      \param key Clave a buscar en el vector.
      \return la instancia asociada a la clave recibida como parametro o NULL si no existe.
   */
-  const T* find(const TKey key) const throw() {
+  const T* find(const TKey key) const {
     return const_cast <SafeSortedVector <T, SortBy, TKey>*>(this)->find(key);
   }
 };