# HG changeset patch # User John W. Eaton # Date 1594702542 14400 # Node ID 522be74908f5683b11c67e65d4a1353003fdbbe8 # Parent 1fca7db5994ea450e3b70550a01c56e93fbdeee1 avoid deprecated Qt qCopy function * History.cpp: Use std::copy instead of qCopy. diff -r 1fca7db5994e -r 522be74908f5 libgui/qterminal/libqterminal/unix/History.cpp --- a/libgui/qterminal/libqterminal/unix/History.cpp Tue Jul 14 00:54:06 2020 -0400 +++ b/libgui/qterminal/libqterminal/unix/History.cpp Tue Jul 14 00:55:42 2020 -0400 @@ -20,6 +20,8 @@ 02110-1301 USA. */ +#include + // Own #include "unix/History.h" @@ -307,7 +309,7 @@ void HistoryScrollBuffer::addCells(const Character a[], int count) { HistoryLine newLine(count); - qCopy(a,a+count,newLine.begin()); + std::copy(a,a+count,newLine.begin()); addCellsVector(newLine); }