projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ref counting
[iotcloud.git]
/
version2
/
src
/
C
/
Entry.h
diff --git
a/version2/src/C/Entry.h
b/version2/src/C/Entry.h
index 2a0c9f42a8c230fea2a2d3d8bcdb7704b5e3670c..2c018296c23fce1bf92e96f8393bd20d340daa21 100644
(file)
--- a/
version2/src/C/Entry.h
+++ b/
version2/src/C/Entry.h
@@
-51,7
+51,8
@@
public:
* array.
*/
virtual int getSize() = 0;
-
+ virtual void releaseRef() {delete this;}
+ virtual void acquireRef() {}
/**
* Returns a copy of the Entry that can be added to a different slot.