Vadim Pisarevsky 10 years ago
parent 30a3ff0de6
commit a8226814c5
  1. 5
      modules/core/src/matrix.cpp

@ -222,11 +222,10 @@ public:
}
};
MatAllocator* Mat::getStdAllocator()
{
static MatAllocator * allocator = new StdMatAllocator();
return allocator;
static StdMatAllocator allocator;
return &allocator;
}
void swap( Mat& a, Mat& b )

Loading…
Cancel
Save