Bug fixes to flex_string submitted by Harmut Kaiser, Jean-Francois Bastien, and Andrew Barnert
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@836 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
b19393301f
commit
3179302021
3 changed files with 65 additions and 21 deletions
|
@ -131,6 +131,8 @@ private:
|
|||
Align align_;
|
||||
} temp;
|
||||
|
||||
--(*Data().begin()); // Harmut Kaiser fix:
|
||||
// decrement the use count of the remaining object
|
||||
new(buf_) Storage(
|
||||
*new(temp.buf_) Storage(Data()),
|
||||
flex_string_details::Shallow());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue