Skip to content

Commit 99b038f

Browse files
committed
Use size_t instead of auto in for loop
1 parent 1cce2ad commit 99b038f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buffer/out/AttrRow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void ATTR_ROW::ReplaceAttrs(const TextAttribute& toBeReplacedAttr, const TextAtt
292292
{
293293
size_t lowerBound = 0;
294294
size_t upperBound = 0;
295-
for (auto i = 0; i < _list.size(); i++)
295+
for (size_t i = 0; i < _list.size(); i++)
296296
{
297297
upperBound += _list[i].GetLength();
298298
if (iStart >= lowerBound && iStart < upperBound)

0 commit comments

Comments
 (0)