1
0
Fork 0

Fix assignment operators test

This commit is contained in:
worktycho 2014-05-17 14:35:08 +01:00
parent 4e841146b8
commit 7616895eb3
1 changed files with 3 additions and 3 deletions

View File

@ -125,10 +125,10 @@ int main(int argc, char** argv)
cChunkBuffer buffer;
buffer.SetBlock(0,0,0,0x42);
cChunkBuffer copy;
copy = buffer;
copy = std::move(buffer);
testassert(copy.GetBlock(0,0,0) == 0x42);
copy = std::move(copy);
testassert(copy.GetBlock(0,0,0) == 0x42);
copy = copy;
testassert(copy.GetBlock(0,0,0) == 0x42)
}
return 0;