diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-06-25 16:47:35 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-06-25 16:47:35 +0200 |
commit | 9aafef1baea2cbdd73fa0c1f0a33684ac9f35216 (patch) | |
tree | 2a67f16884654bc31dd91fb307da42652139ce3f /mdds | |
parent | 7a62a5c34a46715cb9d13c60f8423526c0625d1e (diff) |
one more fix for mdds with msvc
Change-Id: I49dfc1b3efcd00547764159fc9ce3dcc1339f7d2
Diffstat (limited to 'mdds')
-rw-r--r-- | mdds/0001-Fix-it-here-too.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mdds/0001-Fix-it-here-too.patch b/mdds/0001-Fix-it-here-too.patch index 9884ff042ac5..5f99a3ded3aa 100644 --- a/mdds/0001-Fix-it-here-too.patch +++ b/mdds/0001-Fix-it-here-too.patch @@ -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 |