mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +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 );
|
||||
}
|
||||
catch ( std::exception e )
|
||||
catch ( const std::exception &e )
|
||||
{
|
||||
printf( " >>> Exception thrown: %s \n" , e.what( ) );
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user