projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updated to clean up compiler issues with how functions were used from basis namespace;
[feisty_meow.git]
/
nucleus
/
library
/
structures
/
amorph.h
diff --git
a/nucleus/library/structures/amorph.h
b/nucleus/library/structures/amorph.h
index d2104c700e26179087bd2787f80dcbda6a996c79..f35f8dbae47a985618068552b838b648f2dbee9f 100644
(file)
--- a/
nucleus/library/structures/amorph.h
+++ b/
nucleus/library/structures/amorph.h
@@
-370,7
+370,7
@@
basis::outcome amorph<contents>::put(int field, const contents *data)
CHECK_FIELDS;
bounds_return(field, 0, elements() - 1, basis::common::OUT_OF_RANGE);
contents *to_whack = acquire(field);
-
WHACK(to_whack)
;
+
delete to_whack
;
if (data) {
basis::array<contents *>::access()[field] = (contents *)data;
_fields_used++;