https://bugs.freedesktop.org/show_bug.cgi?id=75505

--- Comment #1 from Jean-Sébastien Pédron <dumbb...@freebsd.org> ---
I found out a difference between GCC's "functional" header and libc++'s one:

  - in GCC, all "operator()" methods are const:
    operator()(...) const

  - in libc++, they aren't:
    operator() (_ArgTypes&&... __args)

Changing the above line to:
  operator() (_ArgTypes&&... __args) const
fixes the build.

I have zero knowledge of C++, so I'm not sure that's a valid fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to