From 4010a0ee23adea7938b005f72576c5e716888abf Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 22 Oct 2016 01:19:36 +0300 Subject: Make auto_rm::path() constant --- butl/filesystem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'butl') 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. // -- cgit v1.1