X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Flevel.cpp;h=1c740e780df0f38016050a2c58346102f353c2ee;hb=7c579d3ef0a6667c18b53dad84c63c05d2760a84;hp=c0f5b2582e370f1e92576099758255f06c8a00be;hpb=02afe1b64f521ccc6f81701c288dfd56d459215b;p=supertux.git diff --git a/src/level.cpp b/src/level.cpp index c0f5b2582..1c740e780 100644 --- a/src/level.cpp +++ b/src/level.cpp @@ -58,7 +58,7 @@ Level::load(const std::string& filepath) { try { lisp::Parser parser; - std::auto_ptr root (parser.parse(filepath)); + const lisp::Lisp* root = parser.parse(filepath); const lisp::Lisp* level = root->get_lisp("supertux-level"); if(!level)