Mercurial > hg > openttd
changeset 10955:0506bfc8ab39 draft
(svn r15294) -Fix: accessing of inaccessible base
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 29 Jan 2009 08:08:03 +0000 |
parents | 6432fa9f38fe |
children | ae9053a8b211 |
files | src/yapf/yapf_rail.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/yapf/yapf_rail.cpp +++ b/src/yapf/yapf_rail.cpp @@ -238,7 +238,7 @@ }; template <class Types> -class CYapfFollowAnySafeTileRailT : protected CYapfReserveTrack<Types> +class CYapfFollowAnySafeTileRailT : public CYapfReserveTrack<Types> { public: typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class) @@ -320,7 +320,7 @@ }; template <class Types> -class CYapfFollowRailT : protected CYapfReserveTrack<Types> +class CYapfFollowRailT : public CYapfReserveTrack<Types> { public: typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class)