Kaydet (Commit) 9aafef1b authored tarafından Luboš Luňák's avatar Luboš Luňák

one more fix for mdds with msvc

Change-Id: I49dfc1b3efcd00547764159fc9ce3dcc1339f7d2
üst 7a62a5c3
......@@ -21,6 +21,16 @@ index 685899b..cea8ae0 100644
block* blk = m_blocks[block_index+1];
blk->mp_data = dst_data.release();
}
@@ -2713,8 +2713,7 @@
else
{
// Insert a new block to store the new elements.
- m_blocks.insert(m_blocks.begin()+dst_index+1, NULL);
- m_blocks[dst_index+1] = new block(len);
+ m_blocks.insert(m_blocks.begin()+dst_index+1, new block(len));
blk = m_blocks[dst_index+1];
blk->mp_data = element_block_func::create_new_block(cat_src, 0);
assert(blk->mp_data);
--
1.8.0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment