From b968ec8a910e75f326aabbc2dd7b8d6cb6253748 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 28 May 2024 21:33:19 -0500 Subject: [PATCH] [keel] Remove redundant move --- src/olympic/keel/src/pack-applib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/olympic/keel/src/pack-applib.cpp b/src/olympic/keel/src/pack-applib.cpp index e10e8fa1..a830e98d 100644 --- a/src/olympic/keel/src/pack-applib.cpp +++ b/src/olympic/keel/src/pack-applib.cpp @@ -32,7 +32,7 @@ static ox::Result readFileBuff(ox::StringView path) noexcept { ox::Buffer buff(size); file.seekg(0, std::ios::beg); file.read(buff.data(), static_cast(buff.size())); - return std::move(buff); + return buff; } catch (std::ios_base::failure const&e) { oxErrorf("Could not read OxFS file: {}", e.what()); return OxError(2, "Could not read OxFS file");