projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced Ref and RefCounter with std::shared_ptr<>
[supertux.git]
/
src
/
scripting
/
floating_image.hpp
diff --git
a/src/scripting/floating_image.hpp
b/src/scripting/floating_image.hpp
index
4365e09
..
9f08379
100644
(file)
--- 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
#ifndef SCRIPTING_API
-#
define HEADER_SUPERTUX_SCRIPTING_FLOATING_IMAGE_HPP
+#
include <memory>
-#
include "util/ref.hpp"
+#
define HEADER_SUPERTUX_SCRIPTING_FLOATING_IMAGE_HPP
class FloatingImage;
typedef FloatingImage _FloatingImage;
class FloatingImage;
typedef FloatingImage _FloatingImage;
@@
-50,7
+50,7
@@
public:
#ifndef SCRIPTING_API
private:
#ifndef SCRIPTING_API
private:
-
Ref
<_FloatingImage> floating_image;
+
std::shared_ptr
<_FloatingImage> floating_image;
#endif
};
#endif
};