Boring changes - highgui.

This commit is contained in:
Roman Donchenko
2013-08-13 16:47:18 +04:00
parent 254d4ae429
commit beeb932d22
13 changed files with 49 additions and 49 deletions

View File

@@ -70,7 +70,7 @@ void BmpDecoder::close()
ImageDecoder BmpDecoder::newDecoder() const
{
return new BmpDecoder;
return makePtr<BmpDecoder>();
}
bool BmpDecoder::readHeader()
@@ -496,7 +496,7 @@ BmpEncoder::~BmpEncoder()
ImageEncoder BmpEncoder::newEncoder() const
{
return new BmpEncoder;
return makePtr<BmpEncoder>();
}
bool BmpEncoder::write( const Mat& img, const std::vector<int>& )