On 08/30/2012 01:19 AM, Dmitry Kurochkin wrote:
> Hi all.
>
> Attached patch fixes build error in CpuAffinitySet.cc reported recently [1].
It looks like the CPU_COUNT API authors forgot to add "const" or decided
not to add it because they were thinking "pure C". I would prefer that
we const_cast<> the argument instead of making the applied() method
non-constant, but since this was committed already I do not think it is
worth redoing now.
Thank you,
Alex.
Received on Thu Aug 30 2012 - 14:51:25 MDT
This archive was generated by hypermail 2.2.0 : Thu Aug 30 2012 - 12:00:12 MDT