Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 12, 2024
1 parent 4c32fa8 commit 2bdade0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions mc_rtc_rviz_panel/src/FormElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,7 @@ void DataComboInput::update_values()
auto dataIn = data_;
for(const auto & k : resolved_ref_) { dataIn = dataIn(k, mc_rtc::Configuration{}); }
auto values = dataIn.size() ? dataIn : std::vector<std::string>{};
std::sort(values.begin(), values.end(),
[](const std::string & lhs, const std::string & rhs)
std::sort(values.begin(), values.end(), [](const std::string & lhs, const std::string & rhs)
{ return QString::compare(lhs.c_str(), rhs.c_str(), Qt::CaseInsensitive) < 0; });
if(values_ != values)
{
Expand Down
10 changes: 5 additions & 5 deletions mc_rtc_rviz_panel/src/TransformInteractiveMarkerWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ TransformInteractiveMarkerWidget::TransformInteractiveMarkerWidget(const ClientW
bool control_position,
ClientWidget * label)
: InteractiveMarkerWidget(
params,
requestId,
server,
make6DMarker(id2name(params.id), makeAxisMarker(0.15 * 0.9), control_position, control_orientation),
label),
params,
requestId,
server,
make6DMarker(id2name(params.id), makeAxisMarker(0.15 * 0.9), control_position, control_orientation),
label),
control_orientation_(control_orientation), control_position_(control_position)
{
}
Expand Down

0 comments on commit 2bdade0

Please sign in to comment.