Commit 38b48f07 authored by Konstantin Kharlamov's avatar Konstantin Kharlamov

Replace obsolete qCopy with std::copy

Fixes 2 compilation warnings about using obsolete function
Signed-off-by: Konstantin Kharlamov's avatarKonstantin Kharlamov <Hi-Angel@yandex.ru>
parent f79ee976
......@@ -544,7 +544,7 @@ void CompactHistoryScroll::addCellsVector(const TextLine &cells)
void CompactHistoryScroll::addCells(const Character a[], int count)
{
TextLine newLine(count);
qCopy(a, a + count, newLine.begin());
std::copy(a, a + count, newLine.begin());
addCellsVector(newLine);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment