diff options
author | dim <dim@FreeBSD.org> | 2014-03-09 21:02:23 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-03-09 21:02:23 +0000 |
commit | e1a0ecea9bb84b28b4c22afe1decfeb32acc2d6e (patch) | |
tree | 0b3879495943a9c0592a54b8d36d064497cbb083 /contrib/libc++/include/functional | |
parent | 80efbcbbcda6a5c59a21cb9628b2fd0573697dfe (diff) | |
download | FreeBSD-src-e1a0ecea9bb84b28b4c22afe1decfeb32acc2d6e.zip FreeBSD-src-e1a0ecea9bb84b28b4c22afe1decfeb32acc2d6e.tar.gz |
MFC r262805:
Pull in r199848 from upstream libc++ trunk:
Const qualify __mem_fn call operator
QOI improvement.
Differential Revision: http://llvm-reviews.chandlerc.com/D2059
This should help with building recent versions of Mesa. See also:
https://bugs.freedesktop.org/show_bug.cgi?id=75505
Reported by: dumbbell
Diffstat (limited to 'contrib/libc++/include/functional')
-rw-r--r-- | contrib/libc++/include/functional | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libc++/include/functional b/contrib/libc++/include/functional index d40f70a..891ed46 100644 --- a/contrib/libc++/include/functional +++ b/contrib/libc++/include/functional @@ -1221,7 +1221,7 @@ public: template <class... _ArgTypes> _LIBCPP_INLINE_VISIBILITY typename __invoke_return<type, _ArgTypes...>::type - operator() (_ArgTypes&&... __args) + operator() (_ArgTypes&&... __args) const { return __invoke(__f_, _VSTD::forward<_ArgTypes>(__args)...); } |