From 3bac1f1334d0a5ad138309b79250c4ef0dd4c5aa Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 12 Nov 2015 17:47:22 +0200 Subject: Return path string representation as const reference --- cutl/fs/path.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutl/fs/path.hxx b/cutl/fs/path.hxx index 59fd14b..d7d2c0c 100644 --- a/cutl/fs/path.hxx +++ b/cutl/fs/path.hxx @@ -295,7 +295,7 @@ namespace cutl } public: - string_type + const string_type& string () const { return path_; -- cgit v1.1