From fb9a816cb91c6b6c4fcdc348d56fd54ba524546d Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 3 Jan 2025 22:47:04 +0000 Subject: [PATCH] animation: add missing header for libc++ after 6a26d08bacb4 (#30) In file included from src/animation/AnimatedVariable.cpp:1: In file included from ./include/hyprutils/animation/AnimatedVariable.hpp:3: ./include/hyprutils/animation/AnimationConfig.hpp:17:60: error: implicit instantiation of undefined template 'std::basic_string' 17 | std::string internalBezier = ""; | ^ /usr/include/c++/v1/__fwd/string.h:43:28: note: template is declared here 43 | class _LIBCPP_TEMPLATE_VIS basic_string; | ^ In file included from src/animation/AnimatedVariable.cpp:1: In file included from ./include/hyprutils/animation/AnimatedVariable.hpp:3: ./include/hyprutils/animation/AnimationConfig.hpp:18:60: error: implicit instantiation of undefined template 'std::basic_string' 18 | std::string internalStyle = ""; | ^ /usr/include/c++/v1/__fwd/string.h:43:28: note: template is declared here 43 | class _LIBCPP_TEMPLATE_VIS basic_string; | ^ --- include/hyprutils/animation/AnimationConfig.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hyprutils/animation/AnimationConfig.hpp b/include/hyprutils/animation/AnimationConfig.hpp index 0741d5c..3399afc 100644 --- a/include/hyprutils/animation/AnimationConfig.hpp +++ b/include/hyprutils/animation/AnimationConfig.hpp @@ -3,6 +3,7 @@ #include "../memory/WeakPtr.hpp" #include "hyprutils/memory/WeakPtr.hpp" +#include #include namespace Hyprutils {