diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-22 01:19:36 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-24 11:27:34 +0300 |
commit | 4010a0ee23adea7938b005f72576c5e716888abf (patch) | |
tree | b2a3e42f6b880592a8a47b3e20e12a10bb8cb93f | |
parent | a128eb0961ccf820ff2142897795b48723d842bd (diff) |
Make auto_rm::path() constant
-rw-r--r-- | butl/filesystem | 2 |
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. // |