summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)