Fix default constructor for exceptions declared using the FC_DECLARE_EXCEPTION macro to include the correct code and strings

This commit is contained in:
Eric Frias 2014-06-09 09:55:02 -04:00
parent 263a6bbdc5
commit 8e82a0a24a

View file

@ -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 ); } \