aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AssetManager.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:54:28 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-23 21:54:28 +0200
commit9b7be419c9dcc6ebd1e504713c7b2676ca3d2fdf (patch)
tree97a2fc5ce1ec1345bd6f44889682ea9a2ffafd76 /src/crepe/api/AssetManager.cpp
parent080ad535e6fc6666b919b1a21b6986aaf9b678eb (diff)
`clang-format`
Diffstat (limited to 'src/crepe/api/AssetManager.cpp')
-rw-r--r--src/crepe/api/AssetManager.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/crepe/api/AssetManager.cpp b/src/crepe/api/AssetManager.cpp
index f6cc369..bf4217f 100644
--- a/src/crepe/api/AssetManager.cpp
+++ b/src/crepe/api/AssetManager.cpp
@@ -3,21 +3,16 @@
#include "AssetManager.h"
#include "util/log.h"
-
using namespace crepe::api;
-AssetManager& AssetManager::get_instance(){
+AssetManager & AssetManager::get_instance() {
static AssetManager instance;
return instance;
}
-
-AssetManager::~AssetManager(){
+AssetManager::~AssetManager() {
dbg_trace();
this->asset_cache.clear();
}
-AssetManager::AssetManager(){
- dbg_trace();
-}
-
+AssetManager::AssetManager() { dbg_trace(); }