From c2b8dcb40878c997bb752cf4df41e14f7f8910b4 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Tue, 11 Feb 2025 22:11:37 +0100 Subject: [PATCH] Fix shelf update on gcc --- openVulkanoCpp/Scene/Text/Shelf.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openVulkanoCpp/Scene/Text/Shelf.hpp b/openVulkanoCpp/Scene/Text/Shelf.hpp index 2370287..847d2a9 100644 --- a/openVulkanoCpp/Scene/Text/Shelf.hpp +++ b/openVulkanoCpp/Scene/Text/Shelf.hpp @@ -24,8 +24,7 @@ namespace OpenVulkano::Scene struct Shelf { - inline static std::vector CreateShelves(uint32_t atlasWidth, std::vector& glyphs, - FT_FaceRec_* face, int channelsCount); + static std::vector CreateShelves(uint32_t atlasWidth, std::vector& glyphs, FT_FaceRec_* face, int channelsCount); Shelf(uint32_t width, uint32_t height, int pixelSize, uint32_t prevShelvesHeight) : m_width(width), m_height(height), m_remainingWidth(width), m_prevShelvesHeight(prevShelvesHeight), m_pixelSize(pixelSize) {}