summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-29 08:08:03 +0000
committerrubidium <rubidium@openttd.org>2009-01-29 08:08:03 +0000
commit627d54a08119b3df2109e2857b2024cf82124b6b (patch)
treebe4867c5c9ce6c4f338bd96c8f609bd488c12c57 /src
parentd7971e5e373cc510aae5f7085928117bf9d95a84 (diff)
downloadopenttd-627d54a08119b3df2109e2857b2024cf82124b6b.tar.xz
(svn r15294) -Fix: accessing of inaccessible base
Diffstat (limited to 'src')
-rw-r--r--src/yapf/yapf_rail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yapf/yapf_rail.cpp b/src/yapf/yapf_rail.cpp
index 2e2b917ca..f4988764c 100644
--- a/src/yapf/yapf_rail.cpp
+++ b/src/yapf/yapf_rail.cpp
@@ -238,7 +238,7 @@ public:
};
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 @@ public:
};
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)