Skip to content

Commit 1a796b5

Browse files
authored
use allocator via init_options argument. (#2129)
Signed-off-by: Tomoya Fujita <[email protected]>
1 parent cbd48c0 commit 1a796b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclcpp/src/rclcpp/context.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Context::init(
219219
if (0u == count) {
220220
ret = rcl_logging_configure_with_output_handler(
221221
&rcl_context_->global_arguments,
222-
rcl_init_options_get_allocator(init_options_.get_rcl_init_options()),
222+
rcl_init_options_get_allocator(init_options.get_rcl_init_options()),
223223
rclcpp_logging_output_handler);
224224
if (RCL_RET_OK != ret) {
225225
rcl_context_.reset();

0 commit comments

Comments
 (0)