Skip to content

Commit 1b5fbf9

Browse files
committed
Replace use of qCopy
1 parent 83e6858 commit 1b5fbf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/grass/qtermwidget/History.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ void HistoryScrollBuffer::addCellsVector(const QVector<Character>& cells)
314314
void HistoryScrollBuffer::addCells(const Character a[], int count)
315315
{
316316
HistoryLine newLine(count);
317-
qCopy(a,a+count,newLine.begin());
317+
std::copy(a,a+count,newLine.begin());
318318

319319
addCellsVector(newLine);
320320
}
@@ -730,7 +730,7 @@ void CompactHistoryScroll::addCellsVector ( const TextLine& cells )
730730
void CompactHistoryScroll::addCells ( const Character a[], int count )
731731
{
732732
TextLine newLine ( count );
733-
qCopy ( a,a+count,newLine.begin() );
733+
std::copy ( a,a+count,newLine.begin() );
734734
addCellsVector ( newLine );
735735
}
736736

0 commit comments

Comments
 (0)