Moved the TBB malloc proxy to Mesh_3.cpp

This commit is contained in:
Clement Jamin 2013-01-29 19:02:31 +01:00
parent c756e865d4
commit b2afefab4b
2 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,12 @@
#include "config.h"
#ifdef CGAL_LINKED_WITH_TBB
// Use TBB malloc proxy (for all new/delete/malloc/free calls)
// Highly recommended
# include <tbb/tbbmalloc_proxy.h>
#endif
#include "MainWindow.h"
#include <QApplication>
#include <CGAL/Qt/resources.h>

View File

@ -7,6 +7,8 @@
//#define CGAL_MESH_3_VERBOSE
//#define CGAL_MESH_3_PERTURBER_HIGH_VERBOSITY
//#define CGAL_MESH_3_EXUDER_VERBOSE
//#define CGAL_MESH_3_EXUDER_HIGH_VERBOSITY
//#define CGAL_MESH_3_VERY_VERBOSE
#define CGAL_MESH_3_IO_VERBOSE
@ -114,16 +116,6 @@
// For abortion profiling, etc.
# define CGAL_CONCURRENT_MESH_3_PROFILING
// ==========================================================================
// TBB
// ==========================================================================
// Use TBB malloc proxy (for all new/delete/malloc/free calls)
// Highly recommended
# include <tbb/tbbmalloc_proxy.h>
#else // !CONCURRENT_MESH_3