Files
nixpkgs/pkgs/by-name/co/coan/fix-path-operator-plus.diff
2026-04-10 20:21:22 +07:00

12 lines
221 B
Diff

diff --git a/src/path.h b/src/path.h
--- a/src/path.h
+++ b/src/path.h
@@ -232,7 +232,7 @@
*/
path operator+(std::string const & str) const {
path p(*this);
- p.append(str);
+ p.push_back(str);
return p;
}