Skip to content

Commit 7a5090d

Browse files
committed
Marks legacy engine class as final
Prevents further inheritance from the legacy projectile prediction engine class.
1 parent ec76a72 commit 7a5090d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/omath/projectile_prediction/proj_pred_engine_legacy.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313

1414
namespace omath::projectile_prediction
1515
{
16-
// ReSharper disable once CppClassCanBeFinal
1716
template<class EngineTrait = traits::SourceEngineTrait>
18-
class ProjPredEngineLegacy : public ProjPredEngineInterface
17+
class ProjPredEngineLegacy final : public ProjPredEngineInterface
1918
{
2019
public:
2120
explicit ProjPredEngineLegacy(const float gravity_constant, const float simulation_time_step,

0 commit comments

Comments
 (0)