[luabind-cvs] luabind/luabind/luabind error.hpp,1.4,1.5
Brought to you by:
arvidn,
daniel_wallin
From: Arvid N. <ar...@us...> - 2006-06-20 21:45:08
|
Update of /cvsroot/luabind/luabind/luabind/luabind In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv10382/luabind Modified Files: error.hpp Log Message: made error's constructor explicit Index: error.hpp =================================================================== RCS file: /cvsroot/luabind/luabind/luabind/luabind/error.hpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- error.hpp 14 Jun 2006 18:17:14 -0000 1.4 +++ error.hpp 20 Jun 2006 21:45:03 -0000 1.5 @@ -45,7 +45,7 @@ class LUABIND_API error : public std::exception { public: - error(lua_State* L): m_L(L) {} + explicit error(lua_State* L): m_L(L) {} lua_State* state() const throw() { return m_L; } virtual const char* what() const throw() { |