summaryrefslogtreecommitdiff
path: root/mdds/0001-Fix-it-here-too.patch
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-06-25 16:47:35 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-06-25 16:47:35 +0200
commit9aafef1baea2cbdd73fa0c1f0a33684ac9f35216 (patch)
tree2a67f16884654bc31dd91fb307da42652139ce3f /mdds/0001-Fix-it-here-too.patch
parent7a62a5c34a46715cb9d13c60f8423526c0625d1e (diff)
one more fix for mdds with msvc
Change-Id: I49dfc1b3efcd00547764159fc9ce3dcc1339f7d2
Diffstat (limited to 'mdds/0001-Fix-it-here-too.patch')
-rw-r--r--mdds/0001-Fix-it-here-too.patch10
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