Don't repeat type name in return statement

This commit is contained in:
Chris Thrasher 2024-07-15 15:43:06 -06:00
parent 5de8ceaab8
commit ada2393890
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C

View File

@ -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