aboutsummaryrefslogtreecommitdiff
path: root/cutl/fs
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-27 12:05:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-27 12:05:37 +0200
commite3da7b73054d94c65bb58933eae6bc82b40dd719 (patch)
treeb9e8ed9b5cbfb4bc5f77e9e51867d1156e87c8c1 /cutl/fs
parent5a6ea019fd48b269121f95dc4afabce760531bbe (diff)
Add clear() to fs::path
Diffstat (limited to 'cutl/fs')
-rw-r--r--cutl/fs/path.hxx6
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 ();