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
commit19a20292069a197c873258e3ade3f0e5d61410d2 (patch)
treebe4867c5c9ce6c4f338bd96c8f609bd488c12c57 /src
parent2e634428f3b241ba940617668bb5ad6ffdc29a2a (diff)
downloadopenttd-19a20292069a197c873258e3ade3f0e5d61410d2.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)