Skip to content

Commit

Permalink
Switch to one participant per context
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed Dec 4, 2019
1 parent 3a5c3a3 commit 20377b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rcl/src/rcl/init_options_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "rcl/init_options.h"

#include "rmw/init.h"
#include "rmw/init_options.h"

#ifdef __cplusplus
extern "C"
Expand Down
6 changes: 3 additions & 3 deletions rcl/src/rcl/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extern "C"
#include "rcutils/snprintf.h"
#include "rcutils/strdup.h"
#include "rmw/error_handling.h"
#include "rmw/node_security_options.h"
#include "rmw/security_options.h"
#include "rmw/rmw.h"
#include "rmw/validate_namespace.h"
#include "rmw/validate_node_name.h"
Expand Down Expand Up @@ -308,8 +308,8 @@ rcl_node_init(
goto fail;
}

rmw_node_security_options_t node_security_options =
rmw_get_zero_initialized_node_security_options();
rmw_security_options_t node_security_options =
rmw_get_zero_initialized_security_options();
node_security_options.enforce_security = (0 == strcmp(ros_enforce_security, "Enforce")) ?
RMW_SECURITY_ENFORCEMENT_ENFORCE : RMW_SECURITY_ENFORCEMENT_PERMISSIVE;

Expand Down

0 comments on commit 20377b7

Please sign in to comment.