try {
color = Color(argv[1]);
}
- catch ( Exception error_ )
+ catch ( Exception &error_ )
{
cout << error_.what() << endl;
cout.flush();
if (_blobRef->decrease() == 0)
delete _blobRef;
}
- catch(Magick::Exception)
+ catch(Magick::Exception&)
{
}
if (_imgRef->decrease() == 0)
delete _imgRef;
}
- catch(Magick::Exception)
+ catch(Magick::Exception&)
{
}
container_->push_back( coderInfo );
}
// Intentionally ignore missing module errors
- catch ( Magick::ErrorModule )
+ catch ( Magick::ErrorModule& )
{
continue;
}
{
image.geometry();
}
- catch ( Exception )
+ catch ( Exception& )
{
caughtException = true;
}
{
image.montageGeometry();
}
- catch ( Exception )
+ catch ( Exception& )
{
caughtException = true;
}