aboutsummaryrefslogtreecommitdiff
path: root/core/os/memory_pool_static.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/memory_pool_static.cpp')
-rw-r--r--core/os/memory_pool_static.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/core/os/memory_pool_static.cpp b/core/os/memory_pool_static.cpp
index bd2ca1436..e3ec1c0cf 100644
--- a/core/os/memory_pool_static.cpp
+++ b/core/os/memory_pool_static.cpp
@@ -28,22 +28,18 @@
/*************************************************************************/
#include "memory_pool_static.h"
-MemoryPoolStatic *MemoryPoolStatic::singleton=0;
+MemoryPoolStatic *MemoryPoolStatic::singleton = 0;
MemoryPoolStatic *MemoryPoolStatic::get_singleton() {
return singleton;
}
-
MemoryPoolStatic::MemoryPoolStatic() {
- singleton=this;
+ singleton = this;
}
-
MemoryPoolStatic::~MemoryPoolStatic() {
- singleton=NULL;
+ singleton = NULL;
}
-
-