msvcp90: Add implementation of _Concurrent_vector_Internal_swap.

Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hua Meng 2018-08-02 23:38:52 +08:00 committed by Alexandre Julliard
parent 2e54a47c98
commit ca0cb4ef26
1 changed files with 12 additions and 2 deletions

View File

@ -2184,9 +2184,19 @@ void __thiscall _Concurrent_vector_base_v4__Internal_resize(
/* ?_Internal_swap@_Concurrent_vector_base_v4@details@Concurrency@@IEAAXAEAV123@@Z */
DEFINE_THISCALL_WRAPPER(_Concurrent_vector_base_v4__Internal_swap, 8)
void __thiscall _Concurrent_vector_base_v4__Internal_swap(
_Concurrent_vector_base_v4 *this, const _Concurrent_vector_base_v4 *v)
_Concurrent_vector_base_v4 *this, _Concurrent_vector_base_v4 *v)
{
FIXME("(%p %p) stub\n", this, v);
_Concurrent_vector_base_v4 temp;
TRACE("(%p %p)\n", this, v);
temp = *this;
*this = *v;
*v = temp;
if(v->segment == this->storage)
v->segment = v->storage;
if(this->segment == v->storage)
this->segment = this->storage;
}
#endif