aboutsummaryrefslogtreecommitdiff
path: root/cutl/fs
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-12 17:47:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-12 17:47:22 +0200
commit3bac1f1334d0a5ad138309b79250c4ef0dd4c5aa (patch)
treea7d7404884e116048a96ea1bfc0d714d03a46f55 /cutl/fs
parenta897445b7d0b8f62825fc51da6de616ec360e612 (diff)
Return path string representation as const reference
Diffstat (limited to 'cutl/fs')
-rw-r--r--cutl/fs/path.hxx2
1 files changed, 1 insertions, 1 deletions
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_;