File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
branches/try2/src/rt/util Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: fc740a729721d5063be367de99b5fcb62a99f2d7
8
+ refs/heads/try2: cf1c3d2da0cb6ebc4c34c122cde3a76523417ed4
9
9
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10
10
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Original file line number Diff line number Diff line change 17
17
18
18
class indexed_list_object {
19
19
public:
20
+ virtual ~indexed_list_object () {}
20
21
int32_t list_index;
21
22
};
22
23
@@ -39,22 +40,22 @@ class indexed_list_element : public indexed_list_object {
39
40
template <typename T> class indexed_list {
40
41
array_list<T*> list;
41
42
public:
42
- virtual int32_t append (T *value);
43
- virtual bool pop (T **value);
43
+ int32_t append (T *value);
44
+ bool pop (T **value);
44
45
/* *
45
46
* Same as pop(), except that it returns NULL if the list is empty.
46
47
*/
47
- virtual T* pop_value ();
48
- virtual size_t length () const {
48
+ T* pop_value ();
49
+ size_t length () const {
49
50
return list.size ();
50
51
}
51
- virtual bool is_empty () const {
52
+ bool is_empty () const {
52
53
return list.is_empty ();
53
54
}
54
- virtual int32_t remove (T* value);
55
- virtual T * operator [](int32_t index);
56
- virtual const T * operator [](int32_t index) const ;
57
- virtual ~indexed_list () {}
55
+ int32_t remove (T* value);
56
+ T * operator [](int32_t index);
57
+ const T * operator [](int32_t index) const ;
58
+ ~indexed_list () {}
58
59
};
59
60
60
61
template <typename T> int32_t
You can’t perform that action at this time.
0 commit comments