Skip to content

Commit

Permalink
Return RMW_RET_UNSUPPORTED in rmw_get_serialized_message_size (#452)
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <ahcorde@gmail.com>
  • Loading branch information
ahcorde authored Sep 29, 2020
1 parent aa1450d commit 1b90501
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rmw_fastrtps_cpp/src/rmw_serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ rmw_get_serialized_message_size(
size_t * /*size*/)
{
RMW_SET_ERROR_MSG("unimplemented");
return RMW_RET_ERROR;
return RMW_RET_UNSUPPORTED;
}
} // extern "C"
2 changes: 1 addition & 1 deletion rmw_fastrtps_dynamic_cpp/src/rmw_serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ rmw_get_serialized_message_size(
size_t * /*size*/)
{
RMW_SET_ERROR_MSG("unimplemented");
return RMW_RET_ERROR;
return RMW_RET_UNSUPPORTED;
}
} // extern "C"

0 comments on commit 1b90501

Please sign in to comment.