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;