mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-26 16:58:21 -04:00
Initial commit for Plugins
Commits squashed, code style and naming changes by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
std::unique_ptr<ResourceManager> ResourceManager::instance;
|
||||
ResourceManager* ResourceManager::instance;
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
@@ -26,10 +26,10 @@ ResourceManager *ResourceManager::get()
|
||||
{
|
||||
if(!instance)
|
||||
{
|
||||
instance = std::make_unique<ResourceManager>();
|
||||
instance = new ResourceManager();
|
||||
}
|
||||
|
||||
return instance.get();
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
||||
ResourceManager::ResourceManager()
|
||||
|
||||
Reference in New Issue
Block a user