Skip to content

Commit

Permalink
Remove override warning
Browse files Browse the repository at this point in the history
  • Loading branch information
200km committed Sep 29, 2023
1 parent 475cbd8 commit 60f2bcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/simulation_sample/spacecraft/sample_components.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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_; }
Expand Down

0 comments on commit 60f2bcf

Please sign in to comment.