Initial commit for Plugins
Commits squashed, code style and naming changes by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
parent
5f5d50ffd8
commit
93231c3225
14 changed files with 344 additions and 24 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue