From e3da7b73054d94c65bb58933eae6bc82b40dd719 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 27 Jul 2012 12:05:37 +0200 Subject: Add clear() to fs::path --- cutl/fs/path.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cutl') 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 (); -- cgit v1.1