translate KeyError too
[mussa.git] / py / stl_container_adapter.hpp
index a2989094d234594fb8731f72ec0683f58c737d78..f60c9960583d51a39d453f67f22e33a078666ad6 100644 (file)
 
 struct IndexError : std::exception
 {
-public:
   explicit IndexError(): std::exception() {};
 };
 
-void translate(IndexError const &e);
+void translate_index_error(IndexError const &e);
 
 
 template<typename T>
@@ -75,7 +74,7 @@ public:
   explicit KeyError(): std::exception() {};
 };
 
-void translate(KeyError const &e);
+void translate_key_error(KeyError const &e);
 
 template<typename T>
 struct map_item