summaryrefslogtreecommitdiff
path: root/src/fs/NarrowPath.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-04-12 22:49:03 +0200
committerMax Kellermann <max@duempel.org>2016-04-12 22:53:06 +0200
commit9b854468087a620e8fd442a5e764858f5454f48e (patch)
tree96459ef22f999f5ff8593f5e018a3205b012f89b /src/fs/NarrowPath.hxx
parentfd5d42836f65f7fdd0fe4ec0fa42b2452fdfc930 (diff)
util/StringPointer: rename typedef pointer to pointer_type
Diffstat (limited to 'src/fs/NarrowPath.hxx')
-rw-r--r--src/fs/NarrowPath.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/NarrowPath.hxx b/src/fs/NarrowPath.hxx
index 53a945c7a..800e00324 100644
--- a/src/fs/NarrowPath.hxx
+++ b/src/fs/NarrowPath.hxx
@@ -43,7 +43,7 @@ class NarrowPath {
#else
typedef StringPointer<> Value;
#endif
- typedef typename Value::const_pointer const_pointer;
+ typedef typename Value::const_pointer_type const_pointer_type;
Value value;
@@ -59,11 +59,11 @@ public:
explicit NarrowPath(Path _path):value(_path.c_str()) {}
#endif
- operator const_pointer() const {
+ operator const_pointer_type() const {
return c_str();
}
- const_pointer c_str() const {
+ const_pointer_type c_str() const {
return value.c_str();
}
};