{
try {
return subItems_.at(row);
- } catch (out_of_range) {
+ } catch (out_of_range&) {
return nullptr;
}
}
int DecoderCollectionItem::row() const
{
if (parent_)
- for (uint i = 0; i < parent_->subItems_.size(); i++)
+ for (size_t i = 0; i < parent_->subItems_.size(); i++)
if (parent_->subItems_.at(i).get() == const_cast<DecoderCollectionItem*>(this))
return i;
{
try {
return data_.at(column);
- } catch (out_of_range) {
+ } catch (out_of_range&) {
return QVariant();
}
}