From a21574c23d0b0a1565735a174ca3c99bf1cbd616 Mon Sep 17 00:00:00 2001 From: Honkazel <169346573+Honkazel@users.noreply.github.com> Date: Sun, 2 Feb 2025 19:06:13 +0500 Subject: [PATCH] some more shit and include remove --- include/hyprutils/math/Vector2D.hpp | 2 +- src/math/Vector2D.cpp | 4 ---- src/string/String.cpp | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/hyprutils/math/Vector2D.hpp b/include/hyprutils/math/Vector2D.hpp index 26e1ddd..1deae3a 100644 --- a/include/hyprutils/math/Vector2D.hpp +++ b/include/hyprutils/math/Vector2D.hpp @@ -10,7 +10,7 @@ namespace Hyprutils::Math { public: Vector2D(double, double); Vector2D(int, int); - Vector2D(); + Vector2D() = default; ~Vector2D(); double x = 0; diff --git a/src/math/Vector2D.cpp b/src/math/Vector2D.cpp index 19ef243..b76c059 100644 --- a/src/math/Vector2D.cpp +++ b/src/math/Vector2D.cpp @@ -12,10 +12,6 @@ Hyprutils::Math::Vector2D::Vector2D(int xx, int yy) : x((double)xx), y((double)y ; } -Hyprutils::Math::Vector2D::Vector2D() { - ; -} - double Hyprutils::Math::Vector2D::normalize() { // get max abs const auto max = std::abs(x) > std::abs(y) ? std::abs(x) : std::abs(y); diff --git a/src/string/String.cpp b/src/string/String.cpp index 3018128..4610d6c 100644 --- a/src/string/String.cpp +++ b/src/string/String.cpp @@ -1,4 +1,3 @@ -#include #include using namespace Hyprutils::String;