diff --git a/src/bnetd/luawrapper.h b/src/bnetd/luawrapper.h index 0a5e142..4bb2741 100644 --- a/src/bnetd/luawrapper.h +++ b/src/bnetd/luawrapper.h @@ -54,11 +54,11 @@ namespace lua { } - virtual ~exception() + virtual ~exception() throw() { } - virtual const char* what() const + virtual const char* what() const throw() { return m_what.c_str(); } @@ -187,7 +187,7 @@ namespace lua // push to stack std::map template - void push(const std::map<_key, _val, _comp, _alloc>& v) throw() + void push(const std::map<_key, _val, _comp, _alloc>& v) { lua_newtable(st); @@ -201,7 +201,7 @@ namespace lua // push to stack std::vector template - void push(const std::vector<_val, _alloc>& v) throw() + void push(const std::vector<_val, _alloc>& v) { lua_newtable(st);