Commit d9834129 authored by Davis King's avatar Davis King

Added a mem_manager_type typedef so the interface better matches array2d.

parent fd0de230
...@@ -16,6 +16,7 @@ namespace dlib ...@@ -16,6 +16,7 @@ namespace dlib
{ {
public: public:
typedef pixel_type type; typedef pixel_type type;
typedef default_memory_manager mem_manager_type;
cv_image (const IplImage* img) cv_image (const IplImage* img)
{ {
......
...@@ -36,6 +36,7 @@ namespace dlib ...@@ -36,6 +36,7 @@ namespace dlib
public: public:
typedef pixel_type type; typedef pixel_type type;
typedef default_memory_manager mem_manager_type;
cv_image ( cv_image (
const IplImage* img const IplImage* img
......
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