From 51b8e33ea925768e16c5459efcaf970ea65b81cc Mon Sep 17 00:00:00 2001 From: Pablo Garrido Date: Thu, 28 Apr 2022 15:49:03 +0200 Subject: [PATCH] Update Signed-off-by: Pablo Garrido --- rcl/src/rcl/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcl/src/rcl/init.c b/rcl/src/rcl/init.c index ba0edadb8c..2604d5b358 100644 --- a/rcl/src/rcl/init.c +++ b/rcl/src/rcl/init.c @@ -154,7 +154,7 @@ rcl_init( // goto fail; } // rcutils_atomic_store((atomic_uint_least64_t *)(&context->instance_id_storage), next_instance_id); - context->impl->instance_id_storage = next_instance_id; + context->instance_id_storage = next_instance_id; context->impl->init_options.impl->rmw_init_options.instance_id = next_instance_id; size_t * domain_id = &context->impl->init_options.impl->rmw_init_options.domain_id;