Skip to content

drop redundant instance_ member#360

Open
ahcorde wants to merge 1 commit into
ahcorde/rolling/hpp_to_cppfrom
ahcorde/rolling/redundant_instance
Open

drop redundant instance_ member#360
ahcorde wants to merge 1 commit into
ahcorde/rolling/hpp_to_cppfrom
ahcorde/rolling/redundant_instance

Conversation

@ahcorde

@ahcorde ahcorde commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • drop redundant instance_ member
  • fix string include placement

Claude Opus 4.7

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Jun 26, 2026
@mergify

mergify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

instance_->passInNode(node_);
instances_[&*instance_] = nodelet_name.c_str();
instance->passInNode(node_);
instances_[&*instance] = nodelet_name.c_str();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At a minimum I think you should do this:

Suggested change
instances_[&*instance] = nodelet_name.c_str();
instances_[instance.get()] = nodelet_name.c_str();

But really, we shoudl probably be using:

  QMap<std::shared_ptr<rqt_gui_cpp::Plugin>, QString> instances_;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants