fix compile warnings
This commit is contained in:
parent
fe997232f6
commit
ac6505f196
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ do { if( !(TEST) ) { FC_THROW_EXCEPTION( fc::assert_exception, #TEST ": " __VA_
|
||||||
std::current_exception() ); \
|
std::current_exception() ); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FC_CAPTURE_AND_RETHROW( __VA_ARGS__ ) \
|
#define FC_CAPTURE_AND_RETHROW( ... ) \
|
||||||
catch( fc::exception& er ) { \
|
catch( fc::exception& er ) { \
|
||||||
FC_RETHROW_EXCEPTION( er, warn, "", FC_FORMAT_ARG_PARAMS(__VA_ARGS__) ); \
|
FC_RETHROW_EXCEPTION( er, warn, "", FC_FORMAT_ARG_PARAMS(__VA_ARGS__) ); \
|
||||||
} catch( const std::exception& e ) { \
|
} catch( const std::exception& e ) { \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue