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)
commit38c9278d883eda4848d714ac30986f7dac0adff5
tree0c3272f7b46af0689aa752386274be2b085f91a7
parent4aa00feb30be912983a80e9766f63c67471127e7
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: http://svn.webkit.org/repository/webkit/trunk@108174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCorePrefix.h