mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
There is little point to a pool allocator with shared_ptr, since ref counters are still allocated as well.
This commit is contained in:
@@ -202,7 +202,9 @@ ScriptValueP rangeIterator(int start, int end) {
|
||||
|
||||
// ----------------------------------------------------------------------------- : Integers
|
||||
|
||||
#define USE_POOL_ALLOCATOR
|
||||
#ifdef USE_INTRUSIVE_PTR
|
||||
#define USE_POOL_ALLOCATOR
|
||||
#endif
|
||||
|
||||
// Integer values
|
||||
class ScriptInt : public ScriptValue {
|
||||
|
||||
Reference in New Issue
Block a user