mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-24 13:06:29 -05:00
input_common/sdl: Silence a -Wpessimizing-move warning
This commit is contained in:
@@ -425,7 +425,7 @@ std::vector<std::unique_ptr<InputCommon::Polling::DevicePoller>> GetPollers(
|
|||||||
pollers.push_back(std::make_unique<SDLButtonPoller>());
|
pollers.push_back(std::make_unique<SDLButtonPoller>());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return std::move(pollers);
|
return pollers;
|
||||||
}
|
}
|
||||||
} // namespace Polling
|
} // namespace Polling
|
||||||
} // namespace SDL
|
} // namespace SDL
|
||||||
|
Reference in New Issue
Block a user