From 22e44600e43cca311656e71ebcbf7afeb554e9f5 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 5 Dec 2025 14:51:59 +0100 Subject: [PATCH] Fix bug caused by uninitialized member --- art/paperback/carousel/text.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/art/paperback/carousel/text.cxx b/art/paperback/carousel/text.cxx index 09e1eb7..bd367ac 100644 --- a/art/paperback/carousel/text.cxx +++ b/art/paperback/carousel/text.cxx @@ -27,12 +27,14 @@ namespace Art::Paperback::Carousel Text:: Text(Text const& other) - : _data{other._data} + : _convention{other._convention}, + _data{other._data} {} Text:: Text(Text&& other) - : _data{std::move(other._data)} + : _convention{other._convention}, + _data{std::move(other._data)} {} Text::