Skip to content

Commit

Permalink
A couple of FIXME resolved.
Browse files Browse the repository at this point in the history
  • Loading branch information
eao197 committed Oct 17, 2023
1 parent 2fc9364 commit 87109e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions dev/so_5_extra/mboxes/first_last_subscriber_notification.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,7 @@ class actual_mbox_t final
if( msg_type != typeid(Msg_Type) )
SO_5_THROW_EXCEPTION(
errors::rc_different_message_type,
//FIXME: we have to create std::string object because
//so_5::exception_t::raise expects std::string.
//This should be fixed after resolving:
//https://github.com/Stiffstream/sobjectizer/issues/46
std::string{ error_description } );
error_description );
}

template<
Expand Down
6 changes: 1 addition & 5 deletions dev/so_5_extra/mboxes/inflight_limit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,7 @@ class actual_mbox_t final
if( msg_type != m_msg_type )
SO_5_THROW_EXCEPTION(
errors::rc_different_message_type,
//FIXME: we have to create std::string object because
//so_5::exception_t::raise expects std::string.
//This should be fixed after resolving:
//https://github.com/Stiffstream/sobjectizer/issues/46
std::string{ error_description } );
error_description );
}
};

Expand Down

0 comments on commit 87109e5

Please sign in to comment.