From ac6505f196c9a360957af2f9fa4814a814261bbf Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Sun, 8 Jun 2014 01:08:12 +0000 Subject: [PATCH] fix compile warnings --- include/fc/exception/exception.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fc/exception/exception.hpp b/include/fc/exception/exception.hpp index c6b4f7c..64d343c 100644 --- a/include/fc/exception/exception.hpp +++ b/include/fc/exception/exception.hpp @@ -327,7 +327,7 @@ do { if( !(TEST) ) { FC_THROW_EXCEPTION( fc::assert_exception, #TEST ": " __VA_ std::current_exception() ); \ } -#define FC_CAPTURE_AND_RETHROW( __VA_ARGS__ ) \ +#define FC_CAPTURE_AND_RETHROW( ... ) \ catch( fc::exception& er ) { \ FC_RETHROW_EXCEPTION( er, warn, "", FC_FORMAT_ARG_PARAMS(__VA_ARGS__) ); \ } catch( const std::exception& e ) { \