Replaced Ref and RefCounter with std::shared_ptr<>
[supertux.git] / src / badguy / ghosttree.hpp
index d71cad8..e902cc8 100644 (file)
@@ -62,7 +62,7 @@ private:
 
   Lantern* suck_lantern; /**< Lantern that is currently being sucked in */
 
-  std::vector<TreeWillOWisp*> willowisps;
+  std::vector<std::shared_ptr<TreeWillOWisp> > willowisps;
 
   bool is_color_deadly(Color color) const;
   void spawn_lantern();