unbreak Dashing build after #50

Signed-off-by: Dan Rose <dan@digilabs.io>
This commit is contained in:
Dan Rose 2019-10-18 18:23:56 -05:00 committed by eboasson
parent c51c884413
commit 79e7046784

View file

@ -501,11 +501,16 @@ static std::string get_node_user_data(const char * node_name, const char * node_
extern "C" 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,
bool localhost_only)
const rmw_node_security_options_t * security_options
#if RMW_VERSION_GTE(0,8,1)
, bool localhost_only
#endif
)
{
static_cast<void>(context);
#if RMW_VERSION_GTE(0,8,1)
static_cast<void>(localhost_only);
#endif
RET_NULL_X(name, return nullptr);
RET_NULL_X(namespace_, return nullptr);
#if MULTIDOMAIN