File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Source/Orts.Simulation/Simulation/RollingStocks/SubSystems/PowerTransmissions Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public enum AxleDriveType
50
50
/// Sums individual axle values to create a total value
51
51
/// </summary>
52
52
53
- public class Axles : IEnumerable < Axle > , ISubSystem < Axles >
53
+ public class Axles : ISubSystem < Axles >
54
54
{
55
55
/// <summary>
56
56
/// List of axles
@@ -249,11 +249,7 @@ public void Update(float elapsedClockSeconds)
249
249
axle . Update ( elapsedClockSeconds ) ;
250
250
}
251
251
}
252
- IEnumerator IEnumerable . GetEnumerator ( )
253
- {
254
- return AxleList . GetEnumerator ( ) ;
255
- }
256
- IEnumerator < Axle > IEnumerable < Axle > . GetEnumerator ( )
252
+ public List < Axle > . Enumerator GetEnumerator ( )
257
253
{
258
254
return AxleList . GetEnumerator ( ) ;
259
255
}
You can’t perform that action at this time.
0 commit comments