X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fserializable.h;h=06a8234e300e0c24bddb8ba7c4e4b719d6e4583a;hb=759b37ae65aac1db92b7166c76bed679b05b6376;hp=5590207e3f86f8f49e6b6acf89b3025858cda6a0;hpb=edaacb3651cf0560314dd008d7243be4b3b2f8c6;p=supertux.git diff --git a/src/serializable.h b/src/serializable.h index 5590207e3..06a8234e3 100644 --- a/src/serializable.h +++ b/src/serializable.h @@ -16,20 +16,20 @@ // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - #ifndef SUPERTUX_SERIALIZABLE_H #define SUPERTUX_SERIALIZABLE_H -using namespace SuperTux; - -namespace SuperTux { -class LispWriter; +namespace lisp { +class Writer; } class Serializable { public: - virtual void write(LispWriter& writer) = 0; + virtual ~Serializable() + { } + + virtual void write(lisp::Writer& writer) = 0; }; #endif /*SUPERTUX_SERIALIZABLE_H*/