File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ Value CallExpression::CallGlobalRange(RenderContext& values)
281
281
size_t count = static_cast <size_t >(m_stop - m_start);
282
282
return static_cast <size_t >(count / m_step);
283
283
}
284
- Value GetValueByIndex (int64_t idx) const
284
+ Value GetValueByIndex (int64_t idx) const override
285
285
{
286
286
return m_start + m_step * idx;
287
287
}
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ struct SubscriptionVisitor : public boost::static_visitor<Value>
113
113
if (index < 0 || static_cast <size_t >(index) >= values.size ())
114
114
return Value ();
115
115
116
- return values[index];
116
+ return values[static_cast < size_t >( index) ];
117
117
}
118
118
119
119
Value operator () (const GenericList& values, const int64_t index) const
You can’t perform that action at this time.
0 commit comments