Commit bfbb580b authored by Davis King's avatar Davis King

Added a default_memory_manager typedef at the top of algs.h.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404079
parent 15bfb560
...@@ -72,6 +72,7 @@ namespace std ...@@ -72,6 +72,7 @@ namespace std
#include "noncopyable.h" #include "noncopyable.h"
#include "enable_if.h" #include "enable_if.h"
#include "uintn.h" #include "uintn.h"
#include "memory_manager_stateless/memory_manager_stateless_kernel_1.h" // for the default memory manager
...@@ -109,6 +110,10 @@ inline const wchar_t* _dTcast<wchar_t> ( const char* , const wchar_t* b) { retur ...@@ -109,6 +110,10 @@ inline const wchar_t* _dTcast<wchar_t> ( const char* , const wchar_t* b) { retur
namespace dlib namespace dlib
{ {
// ----------------------------------------------------------------------------------------
typedef memory_manager_stateless_kernel_1<char> default_memory_manager;
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
/*!A swap !*/ /*!A swap !*/
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#ifndef DLIB_MEMORY_MANAGER_STATELESs_1_ #ifndef DLIB_MEMORY_MANAGER_STATELESs_1_
#define DLIB_MEMORY_MANAGER_STATELESs_1_ #define DLIB_MEMORY_MANAGER_STATELESs_1_
#include "../algs.h"
#include "memory_manager_stateless_kernel_abstract.h" #include "memory_manager_stateless_kernel_abstract.h"
namespace dlib namespace dlib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment