fix exception macro

This commit is contained in:
Daniel Larimer 2014-06-09 12:13:29 -04:00
parent ef8f257520
commit f9746b6fe6

View file

@ -231,7 +231,7 @@ namespace fc
:BASE(c){} \ :BASE(c){} \
TYPE( const BASE& c ) \ TYPE( const BASE& c ) \
:BASE(c){} \ :BASE(c){} \
TYPE():exception(CODE, BOOST_PP_STRINGIZE(TYPE), WHAT){}\ TYPE():BASE(CODE, BOOST_PP_STRINGIZE(TYPE), WHAT){}\
\ \
virtual std::shared_ptr<fc::exception> dynamic_copy_exception()const\ virtual std::shared_ptr<fc::exception> dynamic_copy_exception()const\
{ return std::make_shared<TYPE>( *this ); } \ { return std::make_shared<TYPE>( *this ); } \