Codechange: make all Providers fully const (Font/Screenshot/Sound)

This commit is contained in:
Rubidium
2025-09-29 21:16:42 +02:00
committed by dP
parent 4683148890
commit e7ee830c0a
15 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ uint _heightmap_highest_peak; ///< When saving a heightmap, this contain
* If the selected provider is not found, then the first provider will be used instead.
* @returns ScreenshotProvider, or null if none exist.
*/
static ScreenshotProvider *GetScreenshotProvider()
static const ScreenshotProvider *GetScreenshotProvider()
{
const auto &providers = ProviderManager<ScreenshotProvider>::GetProviders();
if (providers.empty()) return nullptr;