mirror of
https://github.com/SFML/SFML.git
synced 2024-11-24 20:31:05 +08:00
Remove unnecessary friend declarations
These functions do not access any private functions they do not need to be `friend`ed
This commit is contained in:
parent
26eb6348e5
commit
eeef7f9e02
@ -110,10 +110,6 @@ public:
|
|||||||
static const Time Zero; //!< Predefined "zero" time value
|
static const Time Zero; //!< Predefined "zero" time value
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend constexpr Time seconds(float);
|
|
||||||
friend constexpr Time milliseconds(std::int32_t);
|
|
||||||
friend constexpr Time microseconds(std::int64_t);
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Member data
|
// Member data
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user