Skip to content

Commit

Permalink
Remove stray semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Sep 5, 2024
1 parent 061df9c commit f3dcf48
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 28 deletions.
4 changes: 2 additions & 2 deletions src/base/commonaxisbuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ namespace Wisteria
BuildXAxis(Canvas* canvas, const std::vector<std::shared_ptr<Graphs::Graph2D>>& graphs,
AxisType axisType, const bool useCommonLeftAxis = false);
};
}; // namespace Wisteria
} // namespace Wisteria

/** @}*/
/** @}*/

#endif //__WISTERIA_COMMON_AXIS_BUILDER_H__
4 changes: 2 additions & 2 deletions src/base/fillableshape.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ namespace Wisteria::GraphItems
private:
double m_fillPercent{ math_constants::empty };
};
}; // namespace Wisteria::GraphItems
} // namespace Wisteria::GraphItems

/** @}*/
/** @}*/

#endif //__WISTERIA_FILLABLE_SHAPE_H__
4 changes: 2 additions & 2 deletions src/base/lines.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ namespace Wisteria::GraphItems
std::vector<std::pair<wxPoint, wxPoint>> m_lines;
LineStyle m_lineStyle{ LineStyle::Lines };
};
}; // namespace Wisteria::GraphItems
} // namespace Wisteria::GraphItems

/** @}*/
/** @}*/

#endif //__WISTERIA_LINES_H__
4 changes: 2 additions & 2 deletions src/base/polygon.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ namespace Wisteria::GraphItems
BoxCorners m_boxCorners{ BoxCorners::Straight };
PolygonShape m_polygonShape{ PolygonShape::Irregular };
};
}; // namespace Wisteria::GraphItems
} // namespace Wisteria::GraphItems

/** @}*/
/** @}*/

#endif //__WISTERIA_POLYGON_H__
7 changes: 3 additions & 4 deletions src/base/reportbuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ namespace Wisteria
/// @brief Loads the base properties for a graph item
/// @param itemNode The JSON node to parse.
/// @param item[in,out] The item to write the properties to.
void LoadItem(const wxSimpleJSON::Ptr_t& itemNode,
GraphItems::GraphItemBase& item);
void LoadItem(const wxSimpleJSON::Ptr_t& itemNode, GraphItems::GraphItemBase& item);
/// @brief Finalizes loading options for a graph.
/// @details This will load general graph options from a node,
/// apply them to the graph, and add the graph (and possibly its legend) to the canvas.
Expand Down Expand Up @@ -566,8 +565,8 @@ namespace Wisteria

wxString m_configFilePath;
};
}; // namespace Wisteria
} // namespace Wisteria

/** @}*/
/** @}*/

#endif //__WISTERIA_REPORT_BUILDER_H__
4 changes: 2 additions & 2 deletions src/base/reportenumconvert.h
Original file line number Diff line number Diff line change
Expand Up @@ -704,8 +704,8 @@ namespace Wisteria
std::nullopt);
}
};
}; // namespace Wisteria
} // namespace Wisteria

/** @}*/
/** @}*/

#endif // __WISTERIA_ENUM_CONVERT_H__
4 changes: 2 additions & 2 deletions src/base/reportprintout.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ namespace Wisteria
wxSize m_originalSize;
bool m_sizeChanged{ false };
};
}; // namespace Wisteria
} // namespace Wisteria

/** @}*/
/** @}*/

#endif //__WISTERIA_REPORT_PRINTOUT_H__
8 changes: 4 additions & 4 deletions src/base/shapes.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ namespace Wisteria::GraphItems
@param shape The icon shape to draw.
@param sz The size of the shape (in DIPs).
@param img An image to use for the shape if using IconShape::ImageIcon.*/
Shape(GraphItems::GraphItemInfo itemInfo, const Icons::IconShape shape,
const wxSize sz, const wxBitmapBundle* img = nullptr);
Shape(GraphItems::GraphItemInfo itemInfo, const Icons::IconShape shape, const wxSize sz,
const wxBitmapBundle* img = nullptr);
/// @private
Shape(const Shape&) = delete;
/// @private
Expand Down Expand Up @@ -546,8 +546,8 @@ namespace Wisteria::GraphItems
mutable bool m_rendererNeedsUpdating{ true };
ShapeRenderer::DrawFunction m_drawFunction{ nullptr };
};
}; // namespace Wisteria::GraphItems
} // namespace Wisteria::GraphItems

/** @}*/
/** @}*/

#endif //__WISTERIA_SHAPES_H__
4 changes: 2 additions & 2 deletions src/import/text_column.h
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ namespace lily_of_the_valley
Tparser m_parser;
std::optional<size_t> m_repeat_count{ std::nullopt };
};
}; // namespace lily_of_the_valley
} // namespace lily_of_the_valley

/** @}*/
/** @}*/

#endif //__TEXT_COLUMN_H__
4 changes: 2 additions & 2 deletions src/import/text_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ namespace lily_of_the_valley
is_end_of_line is_eol;
std::optional<std::vector<string_typeT>> m_mdVals{ std::nullopt };
};
}; // namespace lily_of_the_valley
} // namespace lily_of_the_valley

/** @}*/
/** @}*/

#endif //__TEXT_MATRIX_H__
8 changes: 4 additions & 4 deletions src/math/mathematics.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
#include <initializer_list>
#include <limits>
#include <numeric>
#include <string_view>
#include <string>
#include <string_view>

/// @todo replace this when upgrading to C++20.
#ifndef M_PI
#define M_PI 3.1415926535897932384626433832795
#define M_PI 3.1415926535897932384626433832795
#endif

/// @brief Math constants.
Expand Down Expand Up @@ -970,8 +970,8 @@ namespace geometry
return downscaled_size(adjustedSize, boundingSize);
}
}
}; // namespace geometry
} // namespace geometry

/** @}*/
/** @}*/

#endif //__MATHEMATICS_H__

0 comments on commit f3dcf48

Please sign in to comment.