File tree 2 files changed +4
-13
lines changed
2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ namespace sd
44
44
return std::make_tuple ((uint8_t *)highLimit - 10 , (uint8_t *)lowLimit, rsp);
45
45
}
46
46
#endif
47
- #ifdef LINUX
47
+ #ifdef LINUX
48
48
auto getStackBounds ()
49
49
{
50
50
auto rsp = getStackRsp ();
Original file line number Diff line number Diff line change 7
7
8
8
namespace sd
9
9
{
10
-
11
- struct IMemoryManager
12
- {
13
- virtual size_t garbageCollect () = 0;
14
- virtual size_t getAllocatedMemory () const = 0;
15
-
16
- virtual ~IMemoryManager () {}
17
- };
18
-
19
- class MemoryManager : public IMemoryManager
10
+ class MemoryManager
20
11
{
21
12
#pragma region HelperClasses
22
13
private:
@@ -138,12 +129,12 @@ namespace sd
138
129
/* *
139
130
* Runs manually garbage collection, returns bytes freed during this collection
140
131
*/
141
- size_t garbageCollect () override ;
132
+ size_t garbageCollect ();
142
133
143
134
/* *
144
135
* Get number of bytes currently allocated by memory manager.
145
136
*/
146
- size_t getAllocatedMemory () const override ;
137
+ size_t getAllocatedMemory () const ;
147
138
148
139
private:
149
140
void destroyObject (IObjectHolder &objectHolder);
You can’t perform that action at this time.
0 commit comments