From 60f2bcfed3015cb3551a6db12b308317268df582 Mon Sep 17 00:00:00 2001 From: Satoshi Ikari Date: Fri, 29 Sep 2023 13:16:01 +0200 Subject: [PATCH] Remove override warning --- src/simulation_sample/spacecraft/sample_components.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/simulation_sample/spacecraft/sample_components.hpp b/src/simulation_sample/spacecraft/sample_components.hpp index 503805e08..5f16dcfd1 100644 --- a/src/simulation_sample/spacecraft/sample_components.hpp +++ b/src/simulation_sample/spacecraft/sample_components.hpp @@ -67,12 +67,12 @@ class SampleComponents : public InstalledComponents { * @fn GenerateForce_b_N * @brief Return force generated by components in unit Newton in body fixed frame */ - libra::Vector<3> GenerateForce_b_N(); + libra::Vector<3> GenerateForce_b_N() override; /** * @fn GenerateTorque_b_Nm * @brief Return torque generated by components in unit Newton-meter in body fixed frame */ - libra::Vector<3> GenerateTorque_b_Nm(); + libra::Vector<3> GenerateTorque_b_Nm() override; /** * @fn ComponentInterference * @brief Handle component interference effect @@ -83,7 +83,7 @@ class SampleComponents : public InstalledComponents { * @fn LogSetup * @brief Setup the logger for components */ - void LogSetup(Logger& logger); + void LogSetup(Logger& logger) override; // Getter inline Antenna& GetAntenna() const { return *antenna_; }