Hi Mathias,

A sorry case indeed... no templated copy constructor...

Rather than use your for loop based code I've employed a std::copy
instead, this should hopefully work on the SunOS's compiler.  This
change is now checked in, could you let me know if it works fine.

Cheers,
Robert.

On 9/27/07, Mathias Froehlich <[EMAIL PROTECTED]> wrote:
>
> ... sigh, is a sad story. Those constructors are missing in the stl on SunOS's
> CC.
>
> Attached is a patch to rev 7491 of src/osg/GraphicsContext.cpp that will
> compile everywhere ...
>
> Please apply.
>
> Thanks
>
>      Mathias
>
> --
> Dr. Mathias Fröhlich, science + computing ag, Software Solutions
> Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
> Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
> --
> Vorstand/Board of Management:
> Dr. Bernd Finkbeiner, Dr. Florian Geyer,
> Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
> Vorsitzender des Aufsichtsrats/
> Chairman of the Supervisory Board:
> Prof. Dr. Hanns Ruder
> Sitz/Registered Office: Tuebingen
> Registergericht/Registration Court: Stuttgart
> Registernummer/Commercial Register No.: HRB 382196
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to