mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-17 15:47:14 +02:00
Initial preparations for CURL and Discord integration.
This commit is contained in:
@ -193,7 +193,7 @@ static SQInteger SqNanL(HSQUIRRELVM vm)
|
||||
{
|
||||
return sq_throwerror(vm, e.what());
|
||||
}
|
||||
catch (const std::exception e)
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
return sq_throwerror(vm, e.what());
|
||||
}
|
||||
@ -698,7 +698,7 @@ static SQInteger SqRoundL(HSQUIRRELVM vm)
|
||||
{
|
||||
return sq_throwerror(vm, e.what());
|
||||
}
|
||||
catch (const std::exception e)
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
return sq_throwerror(vm, e.what());
|
||||
}
|
||||
|
Reference in New Issue
Block a user