diff options
Diffstat (limited to 'src/crepe/api/AssetManager.hpp')
-rw-r--r-- | src/crepe/api/AssetManager.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/AssetManager.hpp b/src/crepe/api/AssetManager.hpp index 083fd9d..468724c 100644 --- a/src/crepe/api/AssetManager.hpp +++ b/src/crepe/api/AssetManager.hpp @@ -5,7 +5,8 @@ namespace crepe::api { template <typename asset> -std::shared_ptr<asset> AssetManager::cache(const std::string & file_path, bool reload) { +std::shared_ptr<asset> AssetManager::cache(const std::string & file_path, + bool reload) { auto it = asset_cache.find(file_path); if (!reload && it != asset_cache.end()) { |