WTF::Deque should work with move only types
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Sep 2013 20:39:19 +0000 (20:39 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Sep 2013 20:39:19 +0000 (20:39 +0000)
commit92e8f8ea585f462aac7f2e00ba1ad2049ff413d9
tree3a3bc9bf2aaf35f160751fe73a4961b94dbd2752
parent625d1371bdfdd3f5a1359f644eba185adb555967
WTF::Deque should work with move only types
https://bugs.webkit.org/show_bug.cgi?id=121446

Reviewed by Andreas Kling.

Source/WTF:

* wtf/Deque.h:
Use std::move and std::forward where appropriate and get rid of the PassTraits include.

Tools:

* TestWebKitAPI/Tests/WTF/Deque.cpp:
(TestWebKitAPI::TEST):
Add a test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/Deque.h
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WTF/Deque.cpp