Skip to content

Commit

Permalink
Use gsl::at instead of subscript operator
Browse files Browse the repository at this point in the history
  • Loading branch information
skyline75489 committed Oct 2, 2019
1 parent eaea4b1 commit 38f259a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer/out/AttrRow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ void ATTR_ROW::ReplaceAttrs(const TextAttribute& toBeReplacedAttr, const TextAtt
_list.resize(newRun.size());
for (auto i = 0; i < _list.size(); i++)
{
_list[i] = newRun[i];
_list.at(i) = newRun.at(i);
}

return S_OK;
Expand Down

0 comments on commit 38f259a

Please sign in to comment.