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)
281281 size_t count = static_cast <size_t >(m_stop - m_start);
282282 return static_cast <size_t >(count / m_step);
283283 }
284- Value GetValueByIndex (int64_t idx) const
284+ Value GetValueByIndex (int64_t idx) const override
285285 {
286286 return m_start + m_step * idx;
287287 }
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ struct SubscriptionVisitor : public boost::static_visitor<Value>
113113 if (index < 0 || static_cast <size_t >(index) >= values.size ())
114114 return Value ();
115115
116- return values[index];
116+ return values[static_cast < size_t >( index) ];
117117 }
118118
119119 Value operator () (const GenericList& values, const int64_t index) const
You can’t perform that action at this time.
0 commit comments