projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use boost::shared_ptr<Surface> instead of std::auto_ptr<Surface>
[supertux.git]
/
src
/
object
/
ghost_particle_system.hpp
diff --git
a/src/object/ghost_particle_system.hpp
b/src/object/ghost_particle_system.hpp
index
f8cf89b
..
b8eebb3
100644
(file)
--- a/
src/object/ghost_particle_system.hpp
+++ b/
src/object/ghost_particle_system.hpp
@@
-20,6
+20,7
@@
#include <memory>
#include "object/particlesystem.hpp"
#include <memory>
#include "object/particlesystem.hpp"
+#include "video/surface_ptr.hpp"
class GhostParticleSystem : public ParticleSystem
{
class GhostParticleSystem : public ParticleSystem
{
@@
-45,7
+46,7
@@
private:
{}
};
{}
};
-
std::auto_ptr<Surface>
ghosts[2];
+
SurfacePtr
ghosts[2];
private:
GhostParticleSystem(const GhostParticleSystem&);
private:
GhostParticleSystem(const GhostParticleSystem&);