Skip to content

Commit

Permalink
Remove extraneous ; in headers [skip-ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Sep 18, 2024
1 parent 05172c5 commit 185af4c
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion include/vrv/beam.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class BeamSegment {
class BeamSpanSegment : public BeamSegment {
public:
BeamSpanSegment();
virtual ~BeamSpanSegment(){};
virtual ~BeamSpanSegment() {}

/**
* Set/get methods for member variables
Expand Down
4 changes: 2 additions & 2 deletions include/vrv/boundingbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BoundingBox {
*/
///@{
BoundingBox();
virtual ~BoundingBox(){};
virtual ~BoundingBox() {}
virtual ClassId GetClassId() const = 0;
bool Is(ClassId classId) const { return (this->GetClassId() == classId); }
bool Is(const std::vector<ClassId> &classIds) const;
Expand Down Expand Up @@ -342,7 +342,7 @@ class SegmentedLine {
*/
///@{
SegmentedLine(int start, int end);
virtual ~SegmentedLine(){};
virtual ~SegmentedLine() {}
///@}

/**
Expand Down
10 changes: 5 additions & 5 deletions include/vrv/devicecontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class DeviceContext {
m_pushBack = false;
m_viewBoxFactor = (double)DEFINITION_FACTOR;
}
virtual ~DeviceContext(){};
virtual ~DeviceContext() {}
ClassId GetClassId() const { return m_classId; }
bool Is(ClassId classId) const { return (m_classId == classId); }
///@}
Expand Down Expand Up @@ -262,14 +262,14 @@ class DeviceContext {
* For example, the method can be used for grouping shapes in <g></g> in SVG
*/
///@{
virtual void StartCustomGraphic(const std::string &name, std::string gClass = "", std::string gId = ""){};
virtual void EndCustomGraphic(){};
virtual void StartCustomGraphic(const std::string &name, std::string gClass = "", std::string gId = "") {}
virtual void EndCustomGraphic() {}
///@}

/**
* Method for changing the color of a custom graphic
*/
virtual void SetCustomGraphicColor(const std::string &color){};
virtual void SetCustomGraphicColor(const std::string &color) {}

/**
* @name Methods for re-starting and ending a graphic for objects drawn in separate steps
Expand Down Expand Up @@ -312,7 +312,7 @@ class DeviceContext {
* @name Method for adding description element
*/
///@{
virtual void AddDescription(const std::string &text){};
virtual void AddDescription(const std::string &text) {}
///@}

/**
Expand Down
2 changes: 1 addition & 1 deletion include/vrv/devicecontextbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class FontInfo {
m_widthToHeightRatio = 1.0;
m_smuflFont = SMUFL_NONE;
}
virtual ~FontInfo(){};
virtual ~FontInfo() {}

// accessors and modifiers for the font elements
int GetPointSize() const { return m_pointSize; }
Expand Down
2 changes: 1 addition & 1 deletion include/vrv/docselection.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class DocSelection {
*/
///@{
DocSelection();
virtual ~DocSelection(){};
virtual ~DocSelection() {}
///@}

/**
Expand Down
4 changes: 2 additions & 2 deletions include/vrv/floatingobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class FloatingPositioner : public BoundingBox {
public:
// constructors and destructors
FloatingPositioner(FloatingObject *object, StaffAlignment *alignment, char spanningType);
virtual ~FloatingPositioner(){};
virtual ~FloatingPositioner() {}
ClassId GetClassId() const override { return FLOATING_POSITIONER; }

virtual void ResetPositioner();
Expand Down Expand Up @@ -485,7 +485,7 @@ class CurveSpannedElement {
m_discarded = false;
m_isBelow = true;
}
virtual ~CurveSpannedElement(){};
virtual ~CurveSpannedElement() {}

Point m_rotatedPoints[4];
const BoundingBox *m_boundingBox;
Expand Down
4 changes: 2 additions & 2 deletions include/vrv/functorinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class FunctorInterface {
* @name Constructors, destructors
*/
///@{
FunctorInterface(){};
FunctorInterface() {}
virtual ~FunctorInterface() = default;
///@}

Expand Down Expand Up @@ -513,7 +513,7 @@ class ConstFunctorInterface {
* @name Constructors, destructors
*/
///@{
ConstFunctorInterface(){};
ConstFunctorInterface() {}
virtual ~ConstFunctorInterface() = default;
///@}

Expand Down
4 changes: 2 additions & 2 deletions include/vrv/interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class Interface {
* Reset method reset all attribute classes
*/
///@{
Interface(){};
virtual ~Interface(){};
Interface() {}
virtual ~Interface() {}
///@}

/**
Expand Down
2 changes: 1 addition & 1 deletion include/vrv/iobase.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Output {
// constructors and destructors
Output(Doc *doc, std::string filename);
Output(Doc *doc);
Output(){};
Output() {}
virtual ~Output();

/**
Expand Down
4 changes: 2 additions & 2 deletions include/vrv/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@ class OptionIntMap : public Option {
class OptionStaffrel : public Option {
public:
// constructors and destructors
OptionStaffrel(){};
virtual ~OptionStaffrel(){};
OptionStaffrel() {}
virtual ~OptionStaffrel() {}
void CopyTo(Option *option) override;
// Alternate type style cannot have a restricted list of possible values
void Init(data_STAFFREL defaultValue);
Expand Down
4 changes: 2 additions & 2 deletions include/vrv/resources.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ class Resources {
class LoadedFont {

public:
LoadedFont(const std::string &name, bool isFallback) : m_name(name), m_isFallback(isFallback){};
~LoadedFont(){};
LoadedFont(const std::string &name, bool isFallback) : m_name(name), m_isFallback(isFallback) {}
~LoadedFont() {}
const std::string GetName() const { return m_name; };
const GlyphTable &GetGlyphTable() const { return m_glyphTable; };
GlyphTable &GetGlyphTableForModification() { return m_glyphTable; };
Expand Down
2 changes: 1 addition & 1 deletion include/vrv/textelement.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class TextDrawingParams {
m_enclose = TEXTRENDITION_NONE;
m_textEnclose = ENCLOSURE_NONE;
}
virtual ~TextDrawingParams(){};
virtual ~TextDrawingParams() {}

int m_x;
int m_y;
Expand Down
2 changes: 1 addition & 1 deletion include/vrv/transposition.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class TransPitch {
// octave number of pitch: 4 = middle-C octave
int m_oct;

TransPitch(){};
TransPitch() {}
TransPitch(int aPname, int anAccid, int anOct);
TransPitch(data_PITCHNAME pname, data_ACCIDENTAL_GESTURAL accidG, data_ACCIDENTAL_WRITTEN accidW, int oct);
TransPitch(const TransPitch &pitch);
Expand Down

0 comments on commit 185af4c

Please sign in to comment.