Fix -Wcatch-value in sexpr.cpp

This is fixed by catching bty const-ref, rather than by value.

Also a few trailing space deletions.
This commit is contained in:
John Beard 2018-07-19 17:15:36 +01:00 committed by Wayne Stambaugh
parent 30da1a3b02
commit 7dc9f99165
1 changed files with 5 additions and 5 deletions

View File

@ -469,7 +469,7 @@ namespace SEXPR
throw std::invalid_argument( "unsupported argument type, this shouldn't have happened" ); throw std::invalid_argument( "unsupported argument type, this shouldn't have happened" );
} }
} }
catch( INVALID_TYPE_EXCEPTION ) catch( const INVALID_TYPE_EXCEPTION& )
{ {
return i; return i;
} }