X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=py%2Fstl_container_adapter.hpp;h=f60c9960583d51a39d453f67f22e33a078666ad6;hp=a2989094d234594fb8731f72ec0683f58c737d78;hb=64fee605ec84d0923384f9a709d4471b6030862f;hpb=80ca9b3ccb2a64f22ab3039b9ee2ecbae2c43e10 diff --git a/py/stl_container_adapter.hpp b/py/stl_container_adapter.hpp index a298909..f60c996 100644 --- a/py/stl_container_adapter.hpp +++ b/py/stl_container_adapter.hpp @@ -11,11 +11,10 @@ struct IndexError : std::exception { -public: explicit IndexError(): std::exception() {}; }; -void translate(IndexError const &e); +void translate_index_error(IndexError const &e); template @@ -75,7 +74,7 @@ public: explicit KeyError(): std::exception() {}; }; -void translate(KeyError const &e); +void translate_key_error(KeyError const &e); template struct map_item