]> git.saurik.com Git - apt.git/commit - apt-pkg/deb/debindexfile.cc
stop depending on copy-on-write for std::string
authorDavid Kalnischkies <david@kalnischkies.de>
Sat, 9 May 2015 13:37:23 +0000 (15:37 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 11 May 2015 15:22:32 +0000 (17:22 +0200)
commitd38926efe1e6d2511bd852607ff4f9c8b60dc76c
tree024143d78e60cc7a846e254ff512ae16a15bd0b8
parente8fb1cdfdd13e45f2b3abbd57a28b57ae6137f14
stop depending on copy-on-write for std::string

In 66c3875df391b1120b43831efcbe88a78569fbfe we workaround/fixed a
problem where the code makes the assumption that the compiler uses
copy-on-write implementations for std::string. Turns out that for c++11
compatibility gcc >= 5 will stop doing this by default.
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/debindexfile.h