aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AssetManager.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:56:19 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-24 10:56:19 +0200
commite7377daf2fe3b759fbbf7e57f88c412c3b1cf011 (patch)
treed4b3af9e752b0e42116b992d27654bac5c5710ad /src/crepe/api/AssetManager.hpp
parent58465175e761a908752542255fe584ce3aa1d163 (diff)
`make format`
Diffstat (limited to 'src/crepe/api/AssetManager.hpp')
-rw-r--r--src/crepe/api/AssetManager.hpp3
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()) {