fs/Traits.hxx: move definition of AllocatedPath::string to PathTraits

This commit is contained in:
Denis Krjuchkov 2013-12-03 13:37:35 +06:00
parent 3a183f869f
commit 2278fe42e5
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;