1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Bring that Whole New World to the Old Continent too

Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6.
This commit is contained in:
Rémi Verschelde
2017-03-19 00:36:26 +01:00
parent 1d418afe86
commit f8db8a3faa
1308 changed files with 147754 additions and 174357 deletions

View File

@@ -28,23 +28,20 @@
/*************************************************************************/
#include "memory_pool_dynamic.h"
MemoryPoolDynamic *MemoryPoolDynamic::singleton = NULL;
MemoryPoolDynamic* MemoryPoolDynamic::singleton=NULL;
MemoryPoolDynamic* MemoryPoolDynamic::get_singleton() {
MemoryPoolDynamic *MemoryPoolDynamic::get_singleton() {
return singleton;
}
MemoryPoolDynamic::MemoryPoolDynamic() {
ERR_FAIL_COND(singleton!=NULL);
singleton=this;
ERR_FAIL_COND(singleton != NULL);
singleton = this;
}
MemoryPoolDynamic::~MemoryPoolDynamic() {
singleton=NULL;
singleton = NULL;
}