mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-01 10:22:09 +01:00
refactor(sonar): use override instead of redundant virtual (cpp:S3471)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,11 +38,11 @@ public:
|
||||
private:
|
||||
// methods
|
||||
// serialize() subclass details, sends content of the subclass to provided stream
|
||||
void serialize_( std::ostream &Output ) const;
|
||||
void serialize_( std::ostream &Output ) const override;
|
||||
// deserialize() subclass details, restores content of the subclass from provided stream
|
||||
void deserialize_( std::istream &Input );
|
||||
void deserialize_( std::istream &Input ) override;
|
||||
// export() subclass details, sends basic content of the class in legacy (text) format to provided stream
|
||||
void export_as_text_( std::ostream &Output ) const;
|
||||
void export_as_text_( std::ostream &Output ) const override;
|
||||
|
||||
// members
|
||||
double NominalVoltage = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user