From da1f652c22c45655080a6438fdb2a297a0aa1323 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 7 Oct 2024 22:58:12 -0600 Subject: [PATCH] Remove unnecessary semicolons --- examples/event_handling/EventHandling.cpp | 2 +- examples/island/Island.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/event_handling/EventHandling.cpp b/examples/event_handling/EventHandling.cpp index d033e38d7..84ffe51d2 100644 --- a/examples/event_handling/EventHandling.cpp +++ b/examples/event_handling/EventHandling.cpp @@ -11,7 +11,7 @@ namespace std::string vec2ToString(const sf::Vector2i vec2) { return '(' + std::to_string(vec2.x) + ", " + std::to_string(vec2.y) + ')'; -}; +} } // namespace diff --git a/examples/island/Island.cpp b/examples/island/Island.cpp index 11982309f..b3c7eef5e 100644 --- a/examples/island/Island.cpp +++ b/examples/island/Island.cpp @@ -252,7 +252,7 @@ sf::Vertex computeVertex(sf::Vector2u position) getElevation(position + sf::Vector2u(0, 1)), getElevation(position - sf::Vector2u(0, 1))); return vertex; -}; +} ////////////////////////////////////////////////////////////