refactor: change memory management and fix related code
- Switched shared_ptr to raw pointers - Added cleanup logic in DataStore - Fixed Factory object creation - Updated function signatures to match changes - Small refactors and formatting fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <stdexcept>
|
||||
#include "FileIO.h"
|
||||
|
||||
template <typename T> using objects = std::map<std::string, std::shared_ptr<T>>;
|
||||
template <typename T> using objects = std::map<std::string, T*>;
|
||||
|
||||
template <typename T>
|
||||
class FileManager
|
||||
|
||||
Reference in New Issue
Block a user