mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Fix style warning from cppcheck
This commit is contained in:
parent
09748275db
commit
bc388e59da
@ -23,7 +23,7 @@ int main( int /*argc*/ , char * /*argv*/[] )
|
|||||||
{
|
{
|
||||||
ch.eval( script );
|
ch.eval( script );
|
||||||
}
|
}
|
||||||
catch ( std::exception e )
|
catch ( const std::exception &e )
|
||||||
{
|
{
|
||||||
printf( " >>> Exception thrown: %s \n" , e.what( ) );
|
printf( " >>> Exception thrown: %s \n" , e.what( ) );
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user