Remove dynamic exceptions
[anna.git] / include / anna / core / util / EqualTo.hpp
index 7218007..2f3f22d 100644 (file)
@@ -26,8 +26,8 @@ template <class K, class T> class EqualTo {
 public:
   EqualTo(const K key) : a_key(key) {;}
   EqualTo(const EqualTo<K, T>& other) : a_key(other.a_key) {;}
-  bool operator()(T* t) const throw() { return *t == a_key; }
-  bool operator()(const T* t) const throw() { return *t == a_key; }
+  bool operator()(T* t) const { return *t == a_key; }
+  bool operator()(const T* t) const { return *t == a_key; }
 
 private:
   const K a_key;