Marks legacy engine class as final

Prevents further inheritance from the legacy projectile prediction engine class.
This commit is contained in:
2025-08-04 01:12:22 +03:00
parent ec76a7239c
commit 7a5090d9f6

View File

@@ -13,9 +13,8 @@
namespace omath::projectile_prediction namespace omath::projectile_prediction
{ {
// ReSharper disable once CppClassCanBeFinal
template<class EngineTrait = traits::SourceEngineTrait> template<class EngineTrait = traits::SourceEngineTrait>
class ProjPredEngineLegacy : public ProjPredEngineInterface class ProjPredEngineLegacy final : public ProjPredEngineInterface
{ {
public: public:
explicit ProjPredEngineLegacy(const float gravity_constant, const float simulation_time_step, explicit ProjPredEngineLegacy(const float gravity_constant, const float simulation_time_step,