Replaced Ref and RefCounter with std::shared_ptr<>
[supertux.git] / src / object / specialriser.cpp
index 013109a..d9e8f09 100644 (file)
@@ -18,7 +18,7 @@
 #include "object/specialriser.hpp"
 #include "supertux/sector.hpp"
 
-SpecialRiser::SpecialRiser(Vector pos, MovingObject* _child) :
+SpecialRiser::SpecialRiser(Vector pos, std::shared_ptr<MovingObject> _child) :
   offset(),
   child(_child)
 {