Replace obsolete qCopy with std::copy

Fixes 2 compilation warnings about using obsolete function

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
wilder-portage
Konstantin Kharlamov 7 years ago
parent f79ee976fb
commit 38b48f0753
  1. 2
      src/History.cpp

@ -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);
}

Loading…
Cancel
Save