Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
Add localhost parameter to create node function (#288)
Browse files Browse the repository at this point in the history
* Add localhost parameter to create node function

Signed-off-by: Brian Ezequiel Marchi <[email protected]>

* Cast parameter to void to avoid compilation warning

Signed-off-by: Brian Ezequiel Marchi <[email protected]>
  • Loading branch information
BMarchi authored and hidmic committed Oct 18, 2019
1 parent 3d033ed commit 13b99c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rmw_opensplice_cpp/src/rmw_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ rmw_node_t *
rmw_create_node(
rmw_context_t * context,
const char * name, const char * namespace_, size_t domain_id,
const rmw_node_security_options_t * security_options)
const rmw_node_security_options_t * security_options, bool localhost_only)
{
static_cast<void>(localhost_only);
RCUTILS_CHECK_ARGUMENT_FOR_NULL(context, nullptr);
RMW_CHECK_TYPE_IDENTIFIERS_MATCH(
init context,
Expand Down

0 comments on commit 13b99c0

Please sign in to comment.