File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class memory_region {
60
60
void *calloc (size_t size, const char *tag);
61
61
void *realloc (void *mem, size_t size);
62
62
void free (void *mem);
63
- virtual ~memory_region ();
63
+ ~memory_region ();
64
64
};
65
65
66
66
inline void *operator new (size_t size, memory_region ®ion,
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ rust_srv::rust_srv(rust_env *env) :
6
6
local_region(this , false ) {
7
7
}
8
8
9
- rust_srv::~rust_srv () {}
10
-
11
9
void
12
10
rust_srv::free (void *p) {
13
11
::free (p);
Original file line number Diff line number Diff line change @@ -8,23 +8,22 @@ class rust_srv {
8
8
public:
9
9
rust_env *env;
10
10
memory_region local_region;
11
- virtual void log (char const *msg);
12
- virtual void fatal (char const *expression,
11
+ void log (char const *msg);
12
+ void fatal (char const *expression,
13
13
char const *file,
14
14
size_t line,
15
15
char const *format,
16
16
...);
17
- virtual void warning (char const *expression,
17
+ void warning (char const *expression,
18
18
char const *file,
19
19
size_t line,
20
20
char const *format,
21
21
...);
22
- virtual void free (void *);
23
- virtual void *malloc (size_t );
24
- virtual void *realloc (void *, size_t );
22
+ void free (void *);
23
+ void *malloc (size_t );
24
+ void *realloc (void *, size_t );
25
25
rust_srv (rust_env *);
26
- virtual ~rust_srv ();
27
- virtual rust_srv *clone ();
26
+ rust_srv *clone ();
28
27
};
29
28
30
29
#endif /* RUST_SRV_H */
You can’t perform that action at this time.
0 commit comments