aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar gingerBill 2015-10-18 20:55:49 +0100
committerGravatar gingerBill 2015-10-18 20:55:49 +0100
commitc9f13a015cfc07a9bf5ec96806bfc49efd0cb7c4 (patch)
tree3555d59ee4dbd12597fd70f288356e365ae36982 /src
parentgb.hpp - Namespaced Types (diff)
gb.hpp - All References are const convention
Diffstat (limited to '')
-rw-r--r--src/main.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5ca3415..a453fa6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,18 +1,5 @@
#include "../gb.hpp"
-struct Global_Allocators
-{
- gb::Heap_Allocator heap = {};
-
- gb::Allocator* default_allocator = &heap;
-};
-
-global Global_Allocators g_allocators;
-gb::Allocator& default_allocator()
-{
- return *g_allocators.default_allocator;
-}
-
int main(int argc, char** argv)
{
// "Use" variables