parse_tree.h now uses standard memory allocation
for MacOSX
This commit is contained in:
parent
099b24d363
commit
7c8da3722e
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ class subtree
|
||||||
TODO: use the std::allocator interface
|
TODO: use the std::allocator interface
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if (defined(__GNUC__) || defined(_MSC_VER)) && !defined(_MT) // not multithreaded
|
#if (defined(__GNUC__) || defined(_MSC_VER)) && !(defined(_MT) || defined(MACOSX) || defined(__APPLE__)) // not multithreaded (or MACOSX - J. Eggermont)
|
||||||
Node_alloc<T> node_allocator;
|
Node_alloc<T> node_allocator;
|
||||||
Tree_alloc<subtree> tree_allocator;
|
Tree_alloc<subtree> tree_allocator;
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Reference in a new issue