From 523627cb5df908b2f6f36f3d62e35ae69ff86720 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 29 Jun 2017 00:19:06 -0700 Subject: [PATCH] fix basic_path::Parts::Parts(const Parts &) bug --- src/util/filesystem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2