X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fscripting%2Ffloating_image.hpp;h=9f08379e1e71d7ecd4152462662fb2badfeabb18;hb=5c7020e504303cf18e472283ab614ef08ad43b2c;hp=4365e09394b7f614f5f37f33fc903a3c6be210ed;hpb=a52595afbb418f560e9a23ef59e0fb7661d2d995;p=supertux.git diff --git a/src/scripting/floating_image.hpp b/src/scripting/floating_image.hpp index 4365e0939..9f08379e1 100644 --- a/src/scripting/floating_image.hpp +++ b/src/scripting/floating_image.hpp @@ -18,9 +18,9 @@ #define HEADER_SUPERTUX_SCRIPTING_FLOATING_IMAGE_HPP #ifndef SCRIPTING_API -#define HEADER_SUPERTUX_SCRIPTING_FLOATING_IMAGE_HPP +#include -#include "util/ref.hpp" +#define HEADER_SUPERTUX_SCRIPTING_FLOATING_IMAGE_HPP class FloatingImage; typedef FloatingImage _FloatingImage; @@ -50,7 +50,7 @@ public: #ifndef SCRIPTING_API private: - Ref<_FloatingImage> floating_image; + std::shared_ptr<_FloatingImage> floating_image; #endif };