HaikuDepot: List.h: Coding style fix
This commit is contained in:
@@ -159,9 +159,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32 nextIndex = index + 1;
|
int32 nextIndex = index + 1;
|
||||||
if ((int32)fCount > nextIndex)
|
if ((int32)fCount > nextIndex) {
|
||||||
memcpy(fItems + index, fItems + nextIndex,
|
memcpy(fItems + index, fItems + nextIndex,
|
||||||
(fCount - nextIndex) * sizeof(ItemType));
|
(fCount - nextIndex) * sizeof(ItemType));
|
||||||
|
}
|
||||||
|
|
||||||
fCount--;
|
fCount--;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user