From 9037aca03bfa4312794a6954752628381256f777 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Tue, 22 Oct 2024 12:15:03 +0200 Subject: merged further and changed to standard --- src/crepe/api/resource_manager.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 src/crepe/api/resource_manager.cpp (limited to 'src/crepe/api/resource_manager.cpp') diff --git a/src/crepe/api/resource_manager.cpp b/src/crepe/api/resource_manager.cpp deleted file mode 100644 index 0ecdae5..0000000 --- a/src/crepe/api/resource_manager.cpp +++ /dev/null @@ -1,25 +0,0 @@ - - -#include "resource_manager.h" -#include -#include - -using namespace crepe::api; - -ResourceManager& ResourceManager::get_instance(){ - static ResourceManager instance; - return instance; -} - - -ResourceManager::~ResourceManager(){ - m_resources.clear(); -} - - -void ResourceManager::Unload(const std::string& file_path){ - if(m_resources.find(file_path) != m_resources.end()){ - m_resources.erase(file_path); - } -} - -- cgit v1.2.3