projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
translate KeyError too
[mussa.git]
/
py
/
stl_container_adapter.hpp
diff --git
a/py/stl_container_adapter.hpp
b/py/stl_container_adapter.hpp
index a2989094d234594fb8731f72ec0683f58c737d78..f60c9960583d51a39d453f67f22e33a078666ad6 100644
(file)
--- a/
py/stl_container_adapter.hpp
+++ b/
py/stl_container_adapter.hpp
@@
-11,11
+11,10
@@
struct IndexError : std::exception
{
struct IndexError : std::exception
{
-public:
explicit IndexError(): std::exception() {};
};
explicit IndexError(): std::exception() {};
};
-void translate(IndexError const &e);
+void translate
_index_error
(IndexError const &e);
template<typename T>
template<typename T>
@@
-75,7
+74,7
@@
public:
explicit KeyError(): std::exception() {};
};
explicit KeyError(): std::exception() {};
};
-void translate(KeyError const &e);
+void translate
_key_error
(KeyError const &e);
template<typename T>
struct map_item
template<typename T>
struct map_item