Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion rmf_visualization_rviz2_plugins/src/LiftPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ void LiftPanel::lift_state_callback(LiftState::UniquePtr msg)
void LiftPanel::display_state(const LiftState& msg)
{
std::string floors_str = "";
for (const auto f : msg.available_floors)
for (const auto& f : msg.available_floors)
floors_str += f + ", ";

std::string available_modes_str = "";
Expand Down
1 change: 1 addition & 0 deletions rmf_visualization_rviz2_plugins/src/NegotiationModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ uint64_t NegotiationModel::get_negotiation_id(std::size_t n)
}
_current_row++;
}
return 0;
}

QString NegotiationModel::render_participants(uint64_t conflict_version)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ std::shared_ptr<ScheduleDataNode> ScheduleDataNode::make(
{
const auto start_time = std::chrono::steady_clock::now();
std::shared_ptr<ScheduleDataNode> schedule_data(
new ScheduleDataNode(std::move(node_name), options));
new ScheduleDataNode(node_name, options));

// Creating a mirror manager that queries over all
// Spacetime in the database schedule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ auto TrajectoryServer::Implementation::on_message(
// validate jwt only if public key is given (when running with dashboard)
std::string public_key;
std::string token;
bool is_verified = true;
if (std::getenv("JWT_PUBLIC_KEY"))
{
public_key = std::getenv("JWT_PUBLIC_KEY");
Expand Down
Loading