Skip to content

Commit 7ade3b4

Browse files
append()
1 parent 101f477 commit 7ade3b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libs/openFrameworks/utils/ofFilesystem.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ class path {
144144
path_.assign(std::move(std::forward<T>(p)));
145145
return *this;
146146
}
147+
148+
path& append(path&& p) noexcept {
149+
path_ /= std::move(p.path_);
150+
return *this;
151+
}
152+
147153
path& operator/=(path&& p) noexcept {
148154
path_ /= std::move(p.path_);
149155
return *this;

0 commit comments

Comments
 (0)