Skip to content

Commit 32a59e2

Browse files
committed
Rename top level generated cpp file
This avoids name clashing with other generated files. Similar to what we do with generated Java files. Signed-off-by: Jacob Perron <[email protected]>
1 parent 91c8526 commit 32a59e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rosidl_generator_java/rosidl_generator_java/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def generate_java(generator_arguments_file, typesupport_impls):
4545

4646
for impl in typesupport_impls:
4747
mapping = {
48-
'idl.cpp.em': '%s.ep.{0}.cpp'.format(impl),
48+
'idl.cpp.em': '_%s.cpp',
4949
}
5050
additional_context.update(typesupport_impl=impl)
5151
generate_files(

0 commit comments

Comments
 (0)