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
@@ -149,6 +149,9 @@ public:
return success;
}
private:
static ScreenshotProvider_Pcx instance;
};
static const ScreenshotProvider_Pcx s_screenshot_provider_pcx;
/* static */ ScreenshotProvider_Pcx ScreenshotProvider_Pcx::instance{};