From eeef7f9e02b9f3569e77c4ccefaef3c3f9cce4de Mon Sep 17 00:00:00 2001 From: ZXShady <153229951+ZXShady@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:11:38 +0100 Subject: [PATCH] Remove unnecessary friend declarations These functions do not access any private functions they do not need to be `friend`ed --- include/SFML/System/Time.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/SFML/System/Time.hpp b/include/SFML/System/Time.hpp index 93c2e233b..b046461b3 100644 --- a/include/SFML/System/Time.hpp +++ b/include/SFML/System/Time.hpp @@ -110,10 +110,6 @@ public: static const Time Zero; //!< Predefined "zero" time value private: - friend constexpr Time seconds(float); - friend constexpr Time milliseconds(std::int32_t); - friend constexpr Time microseconds(std::int64_t); - //////////////////////////////////////////////////////////// // Member data ////////////////////////////////////////////////////////////