mirror of
https://github.com/SFML/SFML.git
synced 2025-02-23 14:56:02 +08:00
Don't repeat type name in return statement
This commit is contained in:
parent
5de8ceaab8
commit
ada2393890
@ -71,7 +71,7 @@ void JoystickImpl::close()
|
||||
JoystickCaps JoystickImpl::getCapabilities() const
|
||||
{
|
||||
// To implement
|
||||
return JoystickCaps();
|
||||
return {};
|
||||
}
|
||||
|
||||
|
||||
@ -86,7 +86,7 @@ Joystick::Identification JoystickImpl::getIdentification() const
|
||||
JoystickState JoystickImpl::update()
|
||||
{
|
||||
// To implement
|
||||
return JoystickState();
|
||||
return {};
|
||||
}
|
||||
|
||||
} // namespace sf::priv
|
||||
|
Loading…
x
Reference in New Issue
Block a user