fs/Traits.hxx: move definition of AllocatedPath::string to PathTraits
This commit is contained in:
@@ -37,8 +37,7 @@ class Error;
|
|||||||
* stored.
|
* stored.
|
||||||
*/
|
*/
|
||||||
class AllocatedPath {
|
class AllocatedPath {
|
||||||
typedef std::string string;
|
typedef PathTraits::string string;
|
||||||
|
|
||||||
typedef PathTraits::value_type value_type;
|
typedef PathTraits::value_type value_type;
|
||||||
typedef PathTraits::pointer pointer;
|
typedef PathTraits::pointer pointer;
|
||||||
typedef PathTraits::const_pointer const_pointer;
|
typedef PathTraits::const_pointer const_pointer;
|
||||||
|
@@ -36,6 +36,7 @@
|
|||||||
* This class describes the nature of a filesystem path.
|
* This class describes the nature of a filesystem path.
|
||||||
*/
|
*/
|
||||||
struct PathTraits {
|
struct PathTraits {
|
||||||
|
typedef std::string string;
|
||||||
typedef char value_type;
|
typedef char value_type;
|
||||||
typedef char *pointer;
|
typedef char *pointer;
|
||||||
typedef const char *const_pointer;
|
typedef const char *const_pointer;
|
||||||
|
Reference in New Issue
Block a user