From 38b48f075326c435dba8abc7b559f47ebabba504 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Sun, 1 Sep 2019 04:07:15 +0300 Subject: [PATCH] Replace obsolete qCopy with std::copy Fixes 2 compilation warnings about using obsolete function Signed-off-by: Konstantin Kharlamov --- src/History.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/History.cpp b/src/History.cpp index 90511c4f..0f09ca98 100644 --- a/src/History.cpp +++ b/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); }