mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
cc_frm: us at member inside addCCItem() for more safety
This commit is contained in:
@@ -222,7 +222,7 @@ int CComponentsForm::addCCItem(CComponentsItem* cc_Item)
|
|||||||
int CComponentsForm::addCCItem(const std::vector<CComponentsItem*> &cc_Items)
|
int CComponentsForm::addCCItem(const std::vector<CComponentsItem*> &cc_Items)
|
||||||
{
|
{
|
||||||
for (size_t i= 0; i< cc_Items.size(); i++)
|
for (size_t i= 0; i< cc_Items.size(); i++)
|
||||||
addCCItem(cc_Items[i]);
|
addCCItem(cc_Items.at(i));
|
||||||
return size();
|
return size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user