Fix default constructor for exceptions declared using the FC_DECLARE_EXCEPTION macro to include the correct code and strings
This commit is contained in:
parent
263a6bbdc5
commit
8e82a0a24a
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ namespace fc
|
|||
:exception(c){} \
|
||||
TYPE( const exception& c ) \
|
||||
:exception(c){} \
|
||||
TYPE():exception(){}\
|
||||
TYPE():exception(CODE, BOOST_PP_STRINGIZE(TYPE), WHAT){}\
|
||||
\
|
||||
virtual std::shared_ptr<exception> dynamic_copy_exception()const\
|
||||
{ return std::make_shared<TYPE>( *this ); } \
|
||||
|
|
|
|||
Loading…
Reference in a new issue