]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/track.h
Fix memory leaks and other bad stuff
[r2c2.git] / source / libmarklin / track.h
index b000e346bf0b4943fc96b5f66733c9c24f109a51..21c505fb9ae12c180ed955e632aab989d0684b03 100644 (file)
@@ -71,7 +71,7 @@ public:
        void break_links();
        const std::vector<Track *> &get_links() const { return links; }
        Track *get_link(unsigned) const;
-       int traverse(unsigned, unsigned) const;
+       unsigned traverse(unsigned, unsigned) const;
        Point get_point(unsigned, unsigned, float) const;
 
        /**