]> git.tdb.fi Git - r2c2.git/commitdiff
Add a using statement for get_end in Zone
authorMikko Rasa <tdb@tdb.fi>
Sun, 22 Mar 2015 15:32:16 +0000 (17:32 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 22 Mar 2015 15:32:16 +0000 (17:32 +0200)
The virtual function declaration hides the other overload if it's not
explicitly brought in.

source/libr2c2/zone.h

index cee45e8d311a29bd15b39ead3e2807aff5856189..9542a0577357f571c8db70e82d162c05dd61a2db 100644 (file)
@@ -49,6 +49,7 @@ public:
 private:
        TrackIter next_iter(const TrackIter &) const;
 public:
+       using TrackChain::get_end;
        virtual TrackIter get_end(Direction) const;
 
        void save(std::list<Msp::DataFile::Statement> &) const;