From f58677b7f065043e2986981a36251d7627bae6b7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 28 Aug 2019 20:57:40 +0200 Subject: [PATCH] GZip: remove useless move This was causing a compiler warning with GCC 9. --- src/GZip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GZip.cpp b/src/GZip.cpp index 626ef81..8a95c1e 100644 --- a/src/GZip.cpp +++ b/src/GZip.cpp @@ -59,7 +59,7 @@ std::vector readGZip(const char *filename) { buffer.resize(len); - return std::move(buffer); + return buffer; } }