mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Fix -Wsign-compare
This commit is contained in:
parent
b675876d3b
commit
ed459702bd
@ -65,7 +65,7 @@ QModelIndex LocalTaskModel::index(Node* n) const {
|
|||||||
const ContainerBase* parent = n->parent();
|
const ContainerBase* parent = n->parent();
|
||||||
|
|
||||||
// the internal pointer refers to n
|
// the internal pointer refers to n
|
||||||
int row = 0;
|
size_t row = 0;
|
||||||
auto find_row = [n, &row](const Stage& child, int /* depth */) -> bool {
|
auto find_row = [n, &row](const Stage& child, int /* depth */) -> bool {
|
||||||
if (&child == n)
|
if (&child == n)
|
||||||
return false; // found, don't continue traversal
|
return false; // found, don't continue traversal
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user