fix exception macro
This commit is contained in:
parent
ef8f257520
commit
f9746b6fe6
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ); } \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue