ServiceProvider: Better naming of methods

This commit renames methods of ServiceProvider to be easier to
understand. It also replaces the misleading singleton with more correct
here global instance of class.
This commit is contained in:
Kacper Donat
2025-01-04 13:08:40 +01:00
parent 8e17312d81
commit 3774830a46
3 changed files with 77 additions and 17 deletions

View File

@@ -26,8 +26,7 @@
#include "ServiceProvider.h"
Base::ServiceProvider& Base::ServiceProvider::get()
namespace Base
{
static Base::ServiceProvider instance;
return instance;
Base::ServiceProvider globalServiceProvider;
}