We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daa56f9 + 89f8752 commit 742a499Copy full SHA for 742a499
rviz_plugins/openscenario_visualization/src/context_panel_plugin.cpp
@@ -111,7 +111,10 @@ void ContextPanel::updateTopicCandidates()
111
}
112
113
114
- std::unique(topics_.begin(), topics_.end());
+
115
+ std::set<std::string> unique_topics(topics_.begin(), topics_.end());
116
+ topics_.assign(unique_topics.begin(), unique_topics.end());
117
118
ui_->TopicSelect->clear();
119
ui_->TopicSelect->addItem("simulation/context");
120
for (const auto & topic : topics_) {
0 commit comments