summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-14 02:13:47 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-14 02:13:47 -0300
commit8228fea02feabbfdd4def950e67f9ea6507d981d (patch)
tree95ccefb9330b693e44f20bddfbf8a6544ad34341 /core
parentedf1f271180a8e2481ebb3d7808f47493e5ad13e (diff)
missing changes
Diffstat (limited to 'core')
-rw-r--r--core/reference.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/reference.h b/core/reference.h
index 544da41044..65f31f78f3 100644
--- a/core/reference.h
+++ b/core/reference.h
@@ -294,6 +294,9 @@ public:
reference=NULL;
}
+ void instance() {
+ ref( memnew( T ));
+ }
Ref() {