projects
/
kazan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51691f7
)
fix basic_path::Parts::Parts(const Parts &) bug
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 29 Jun 2017 07:19:06 +0000
(
00:19
-0700)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 29 Jun 2017 07:19:06 +0000
(
00:19
-0700)
src/util/filesystem.h
patch
|
blob
|
history
diff --git
a/src/util/filesystem.h
b/src/util/filesystem.h
index 070c2f9ae210725a767f4ebf4e0f441362da9b78..7588b64da43650df93b41dcfede0c579b668cdcc 100644
(file)
--- 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()