From 8906ff2e2755f6f8a2e52f5252afbcbea248c947 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 1 Jan 2017 12:03:58 +0100 Subject: instance_destroy that actually works; no more shared_ptr --- global.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'global.h') diff --git a/global.h b/global.h index 44e520a..eb8e7ea 100644 --- a/global.h +++ b/global.h @@ -1,7 +1,7 @@ #pragma once +#include #include -#include #include "object_base.h" @@ -10,5 +10,6 @@ using namespace std; class Global{ public: - vector> objects; + set objects; + vector objects_todelete; }; -- cgit v1.2.3-70-g09d2