From 627d54a08119b3df2109e2857b2024cf82124b6b Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 29 Jan 2009 08:08:03 +0000 Subject: [PATCH] (svn r15294) -Fix: accessing of inaccessible base --- src/yapf/yapf_rail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yapf/yapf_rail.cpp b/src/yapf/yapf_rail.cpp index 2e2b917caa..f4988764c4 100644 --- a/src/yapf/yapf_rail.cpp +++ b/src/yapf/yapf_rail.cpp @@ -238,7 +238,7 @@ public: }; template -class CYapfFollowAnySafeTileRailT : protected CYapfReserveTrack +class CYapfFollowAnySafeTileRailT : public CYapfReserveTrack { public: typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class) @@ -320,7 +320,7 @@ public: }; template -class CYapfFollowRailT : protected CYapfReserveTrack +class CYapfFollowRailT : public CYapfReserveTrack { public: typedef typename Types::Tpf Tpf; ///< the pathfinder class (derived from THIS class)