From: Jacob Lifshay Date: Thu, 29 Jun 2017 07:19:06 +0000 (-0700) Subject: fix basic_path::Parts::Parts(const Parts &) bug X-Git-Tag: gsoc-2017~79 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=523627cb5df908b2f6f36f3d62e35ae69ff86720;p=kazan.git fix basic_path::Parts::Parts(const Parts &) bug --- diff --git a/src/util/filesystem.h b/src/util/filesystem.h index 070c2f9..7588b64 100644 --- a/src/util/filesystem.h +++ b/src/util/filesystem.h @@ -653,7 +653,7 @@ private: Parts new_parts; new_parts.reserve(rt.used_count); for(std::size_t i = 0; i < rt.used_count; i++) - push_back(rt.values[i]); + new_parts.push_back(rt.values[i]); swap(new_parts); } Parts(Parts &&rt) noexcept : Parts()