… | … | ||
---|---|---|---|
22 | struct refcounted { | 22 | struct refcounted { |
23 | int referenced; | 23 | int referenced; |
24 | char *id; | 24 | char *id; |
25 | 25 | ||
26 | refcounted (const char *id); | 26 | refcounted (const char *id); |
27 | bool init () { } | 27 | bool init () { return false; } |
28 | ~refcounted (); | 28 | ~refcounted (); |
29 | }; | 29 | }; |
30 | 30 | ||
31 | template<class T> | 31 | template<class T> |
32 | struct refcache : vector<T *> { | 32 | struct refcache : vector<T *> { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |