aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-10-22 01:19:36 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-10-24 11:27:34 +0300
commit4010a0ee23adea7938b005f72576c5e716888abf (patch)
treeb2a3e42f6b880592a8a47b3e20e12a10bb8cb93f
parenta128eb0961ccf820ff2142897795b48723d842bd (diff)
Make auto_rm::path() constant
-rw-r--r--butl/filesystem2
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/filesystem b/butl/filesystem
index 6f199c9..e6aaa20 100644
--- a/butl/filesystem
+++ b/butl/filesystem
@@ -124,7 +124,7 @@ namespace butl
cancel () {path_ = P ();}
const P&
- path () {return path_;}
+ path () const {return path_;}
// Movable-only type. Move-assignment cancels the lhs object.
//