[ITK] (no subject)

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Oct 27 10:54:32 EDT 2014


Hello,

This error message indicates there is a constant qualifier for the result of the GetOutput method, and that there is no conversion to the non-const SmartPointer.

You need to use a ConstPointer type.

On Oct 27, 2014, at 10:48 AM, Zein Salah <zeinsalah at gmail.com> wrote:

> error C2440: 'Initialisierung': 'const itk::Statistics::Histogram<TMeasurement,VMeasurementVectorSize,TFrequencyContainer> *' kann nicht in 'itk::SmartPointer<TObjectType>' konvertiert werden

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20141027/c1ac50e0/attachment.html>


More information about the Community mailing list