Codefix: Move provider instances to static members. (#14501)

Avoids misnaming in global scope.
This commit is contained in:
Peter Nelson
2025-08-07 09:21:44 +01:00
committed by GitHub
parent 2b6cb8a2d2
commit ed1262cab9
6 changed files with 24 additions and 6 deletions
+4 -1
View File
@@ -145,6 +145,9 @@ public:
return true;
}
private:
static ScreenshotProvider_Bmp instance;
};
static ScreenshotProvider_Bmp s_screenshot_provider_bmp;
/* static */ ScreenshotProvider_Bmp ScreenshotProvider_Bmp::instance{};