From 77b270e0842408eee18758e6f64bb3e82132b2eb Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 17 Feb 2022 04:31:15 -0600 Subject: [PATCH] [nostalgia/core] Change TileSheet version conv pixels copy to a move --- src/nostalgia/core/typeconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/typeconv.cpp b/src/nostalgia/core/typeconv.cpp index 56c0571ac..d85e8917b 100644 --- a/src/nostalgia/core/typeconv.cpp +++ b/src/nostalgia/core/typeconv.cpp @@ -41,7 +41,7 @@ struct TileSheetV1ToV2Converter: public Converter { v2->subsheet.size = v1.pixels.size(); v2->defaultPalette = v1.defaultPalette; v2->pal = v1.pal; - v2->pixels = v1.pixels; + v2->pixels = std::move(v1.pixels); return OxError(0); } };