Skip to content

Commit

Permalink
Remove const workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
dhood committed Feb 26, 2018
1 parent 4ff4d21 commit 8891952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcl/src/rcl/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const char * rcl_create_node_logger_name(
const char * ns_with_separators = rcutils_repl_str(
node_namespace + 1, // Ignore the leading forward slash.
"/", RCUTILS_LOGGING_SEPARATOR_STRING,
(rcl_allocator_t *)allocator); // TODO(dhood): remove need for casting away const
allocator);
if (NULL == ns_with_separators) {
return NULL;
}
Expand Down

0 comments on commit 8891952

Please sign in to comment.