Hi Mathias,

Having two code paths for the same thing just work around a problem
with a compiler is just going to cause problems long term, we'll need
to find a solution that uses a single code path on all platforms,
potentially this could be to just use the static function path that
you've introduced.

Just to make sure I understand the compile problem under Solaris, its
a problem with std::list::sort() not handling the functor?  Previous
code used to use a std::vector<> and std::sort associated with it,
with is a templated function, so perhaps this is why it used to
compile.

Robert.

On Fri, Jun 27, 2008 at 4:20 PM, Mathias Fröhlich
<[EMAIL PROTECTED]> wrote:
>
> Hi Robert,
>
> Included a compile fix due to solaris CC not having member templates.
> This makes use of the sort method that takes a function pointer instead of the
> standard version that takes a functor.
>
> The change is based on rev 8508.
>
> 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