diff options
Diffstat (limited to 'src/libluaglue/LuaVM.cpp')
-rw-r--r-- | src/libluaglue/LuaVM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libluaglue/LuaVM.cpp b/src/libluaglue/LuaVM.cpp index 04027af..566e516 100644 --- a/src/libluaglue/LuaVM.cpp +++ b/src/libluaglue/LuaVM.cpp @@ -77,7 +77,7 @@ void LuaVM::executeFunction( const string &f ) ostringstream ss; ss << "Unable to call Lua function '" << f << "': " << lua_tostring( m_lua, -1 ); lua_pop( m_lua, 1 ); - throw new std::runtime_error( ss.str( ) ); + throw std::runtime_error( ss.str( ) ); } //int nresults = lua_gettop( m_lua ) - top; |