Make WebCore compile with libc++ (Part 1)
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Feb 2012 23:42:03 +0000 (23:42 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Feb 2012 23:42:03 +0000 (23:42 +0000)
commitf36746183cc66d0b349b9a0834e435b567081b6e
tree0c3272f7b46af0689aa752386274be2b085f91a7
parent06bac021281758ba89190a400073964205cf47f1
Make WebCore compile with libc++ (Part 1)
https://bugs.webkit.org/show_bug.cgi?id=78974

Reviewed by Anders Carlsson.

Add a workaround for <rdar://problem/10858112>, which cause the standard heap functions
not to work when using an iterator with proxy objects for reference and pointer types.

* WebCorePrefix.h:
(move):
Add an overload of std::move that the heap functions can call successfully.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@108174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCorePrefix.h