diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-27 12:05:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-27 12:05:37 +0200 |
commit | e3da7b73054d94c65bb58933eae6bc82b40dd719 (patch) | |
tree | b9e8ed9b5cbfb4bc5f77e9e51867d1156e87c8c1 /cutl/fs/path.hxx | |
parent | 5a6ea019fd48b269121f95dc4afabce760531bbe (diff) |
Add clear() to fs::path
Diffstat (limited to 'cutl/fs/path.hxx')
-rw-r--r-- | cutl/fs/path.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cutl/fs/path.hxx b/cutl/fs/path.hxx index 5dce2cd..ea0034e 100644 --- a/cutl/fs/path.hxx +++ b/cutl/fs/path.hxx @@ -160,6 +160,12 @@ namespace cutl path_.swap (p.path_); } + void + clear () + { + path_.clear (); + } + static basic_path current (); |