Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pluginlib/include/pluginlib/class_loader_imp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ClassLoader<T>::ClassLoader(
/***************************************************************************/
{
RCUTILS_LOG_DEBUG_NAMED("pluginlib.ClassLoader", "Creating ClassLoader, base = %s, address = %p",
base_class.c_str(), this);
base_class.c_str(), static_cast<void *>(this));
try {
ament_index_cpp::get_package_prefix(package_);
} catch (const ament_index_cpp::PackageNotFoundError & exception) {
Expand All @@ -115,7 +115,7 @@ ClassLoader<T>::ClassLoader(
classes_available_ = determineAvailableClasses(plugin_xml_paths_);
RCUTILS_LOG_DEBUG_NAMED("pluginlib.ClassLoader",
"Finished constructring ClassLoader, base = %s, address = %p",
base_class.c_str(), this);
base_class.c_str(), static_cast<void *>(this));
}

template<class T>
Expand All @@ -124,7 +124,7 @@ ClassLoader<T>::~ClassLoader()
{
RCUTILS_LOG_DEBUG_NAMED("pluginlib.ClassLoader",
"Destroying ClassLoader, base = %s, address = %p",
getBaseClassType().c_str(), this);
getBaseClassType().c_str(), static_cast<void *>(this));
}


Expand All @@ -148,7 +148,7 @@ T * ClassLoader<T>::createClassInstance(const std::string & lookup_name, bool au
"Attempting to create instance through low-level MultiLibraryClassLoader...");
T * obj = lowlevel_class_loader_.createUnmanagedInstance<T>(getClassType(lookup_name));
RCUTILS_LOG_DEBUG_NAMED("pluginlib.ClassLoader",
"Instance created with object pointer = %p", obj);
"Instance created with object pointer = %p", static_cast<void *>(obj));

return obj;
} catch (const class_loader::CreateClassException & ex) {
Expand Down