Commit 2278fe42 authored by Denis Krjuchkov's avatar Denis Krjuchkov

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

parent 3a183f86
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment