Codechange: make all Providers fully const (Font/Screenshot/Sound)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user