@@ -56,20 +56,20 @@ handle_shared_library_from_name(
5656 library_name = rcpputils::get_platform_library_name (library_basename);
5757 } catch (const std::exception & e) {
5858 RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
59- " Failed to compute library name for '%s' due to %s" ,
60- library_basename, e.what ());
59+ " Failed to compute library name for '%s' due to %s" ,
60+ library_basename, e.what ());
6161 return nullptr ;
6262 }
6363
6464 try {
6565 lib = new rcpputils::SharedLibrary (library_name);
6666 } catch (const std::runtime_error & e) {
6767 RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
68- " Could not load library %s: %s" , library_name.c_str (), e.what ());
68+ " Could not load library %s: %s" , library_name.c_str (), e.what ());
6969 return nullptr ;
7070 } catch (const std::bad_alloc & e) {
7171 RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
72- " Could not load library %s: %s" , library_name.c_str (), e.what ());
72+ " Could not load library %s: %s" , library_name.c_str (), e.what ());
7373 return nullptr ;
7474 }
7575 map->data [map_item] = lib;
@@ -82,15 +82,15 @@ handle_shared_library_from_name(
8282
8383 try {
8484 if (!lib->has_symbol (map->symbol_name [map_item])) {
85- RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
85+ RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
8686 " Failed to find symbol '%s' in library" , map->symbol_name [map_item]);
87- return nullptr ;
87+ return nullptr ;
8888 }
8989 sym = lib->get_symbol (map->symbol_name [map_item]);
9090 } catch (const std::exception & e) {
9191 RCUTILS_SET_ERROR_MSG_WITH_FORMAT_STRING (
92- " Failed to get symbol '%s' in library: %s" ,
93- map->symbol_name [map_item], e.what ());
92+ " Failed to get symbol '%s' in library: %s" ,
93+ map->symbol_name [map_item], e.what ());
9494 return nullptr ;
9595 }
9696
0 commit comments