]> www.ginac.de Git - ginac.git/blobdiff - ginac/basic.h
- Removed obsolete (even for Cint!) malloc_alloc template arguments.
[ginac.git] / ginac / basic.h
index 1b5f2cf3d5bdc391a4d0f08ff20746d159f18828..9199e34c5634f0101e147eaa1f597807cd08353b 100644 (file)
@@ -45,14 +45,7 @@ class relational;
 class archive_node;
 class print_context;
 
-// Cint currently doesn't like vector<..,default_alloc> but malloc_alloc is
-// unstandardized and not supported by newer GCCs.  This ugly hack will go
-// away soon!
-#if (defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ < 97)) || (defined(G__GNUC) && (G__GNUC == 2) && (G__GNUC_MINOR < 97))
-  typedef std::vector<GiNaC::ex,malloc_alloc> exvector;
-#else
-  typedef std::vector<ex> exvector;
-#endif
+typedef std::vector<ex> exvector;
 
 typedef ex (*map_func)(const ex & e);