diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-12-03 13:37:35 +0600 |
---|---|---|
committer | Denis Krjuchkov <denis@crazydev.net> | 2013-12-03 13:37:35 +0600 |
commit | 2278fe42e55bbc713ccd2a45736a9eb9369afd36 (patch) | |
tree | bfb8039a170bbbfc00eac7d0cf88c3c058912460 /src/fs | |
parent | 3a183f869f1697cb5337e392cb341a07bd7c6295 (diff) | |
download | mpd-2278fe42e55bbc713ccd2a45736a9eb9369afd36.tar.gz mpd-2278fe42e55bbc713ccd2a45736a9eb9369afd36.tar.xz mpd-2278fe42e55bbc713ccd2a45736a9eb9369afd36.zip |
fs/Traits.hxx: move definition of AllocatedPath::string to PathTraits
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/AllocatedPath.hxx | 3 | ||||
-rw-r--r-- | src/fs/Traits.hxx | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx index 502f30d17..3d557f92e 100644 --- a/src/fs/AllocatedPath.hxx +++ b/src/fs/AllocatedPath.hxx @@ -37,8 +37,7 @@ class Error; * stored. */ class AllocatedPath { - typedef std::string string; - + typedef PathTraits::string string; typedef PathTraits::value_type value_type; typedef PathTraits::pointer pointer; typedef PathTraits::const_pointer const_pointer; diff --git a/src/fs/Traits.hxx b/src/fs/Traits.hxx index df412b12b..c72f9814a 100644 --- a/src/fs/Traits.hxx +++ b/src/fs/Traits.hxx @@ -36,6 +36,7 @@ * This class describes the nature of a filesystem path. */ struct PathTraits { + typedef std::string string; typedef char value_type; typedef char *pointer; typedef const char *const_pointer; |