Fix compilation with Sun CC 5.9: moving elements in a vector requires source not...
commitbd3c95917dfe2c2740403176935bf84ada9df403
authorThiago Macieira <thiago.macieira@nokia.com>
Tue, 21 Jul 2009 12:18:35 +0000 (21 14:18 +0200)
committerKent Hansen <khansen@trolltech.com>
Fri, 4 Sep 2009 10:41:00 +0000 (4 12:41 +0200)
tree3537e3ded35d0ba6a919d5ee08c21c283eafcea8
parentb9fdc5636c166e26195d783378ff4da43b755bc5
Fix compilation with Sun CC 5.9: moving elements in a vector requires source not to be const

I don't know why the compiler couldn't call src->~T() on a const T *src,
but fact is it couldn't.

In any case, since move is copying the source and deleting it, formally
the argument shouldn't be const anyway.
src/3rdparty/webkit/JavaScriptCore/wtf/Vector.h