From f114ea3d978629279b0dfa94459a346b198aff29 Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Mon, 5 Jan 2026 20:02:58 +0900 Subject: [PATCH] core: add missing #include (#40) Without it, build fails with the following error: error: no template named 'span' in namespace 'std' --- include/hyprgraphics/resource/resources/ImageResource.hpp | 1 + src/image/formats/Svg.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/include/hyprgraphics/resource/resources/ImageResource.hpp b/include/hyprgraphics/resource/resources/ImageResource.hpp index 0162392..70998a2 100644 --- a/include/hyprgraphics/resource/resources/ImageResource.hpp +++ b/include/hyprgraphics/resource/resources/ImageResource.hpp @@ -1,6 +1,7 @@ #pragma once #include +#include #include #include "./AsyncResource.hpp" #include "../../color/Color.hpp" diff --git a/src/image/formats/Svg.hpp b/src/image/formats/Svg.hpp index 1fec865..9a5908c 100644 --- a/src/image/formats/Svg.hpp +++ b/src/image/formats/Svg.hpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include