Skip to content

Commit

Permalink
animation: add missing header for libc++ after 6a26d08 (#30)
Browse files Browse the repository at this point in the history
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<char>'
   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<char>'
   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;
      |                            ^
  • Loading branch information
jbeich authored Jan 3, 2025
1 parent 6a26d08 commit fb9a816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/hyprutils/animation/AnimationConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "../memory/WeakPtr.hpp"
#include "hyprutils/memory/WeakPtr.hpp"

#include <string>
#include <unordered_map>

namespace Hyprutils {
Expand Down

0 comments on commit fb9a816

Please sign in to comment.