util/{Const,Writable}Buffer: drop "_type" from type names

Behave like STL.
This commit is contained in:
Max Kellermann
2020-01-03 15:49:29 +01:00
parent 53f8053188
commit 4937d77cb6
26 changed files with 176 additions and 180 deletions

View File

@@ -41,7 +41,7 @@ class NarrowPath {
#else
typedef StringPointer<> Value;
#endif
typedef typename Value::const_pointer_type const_pointer_type;
typedef typename Value::const_pointer const_pointer;
Value value;
@@ -57,11 +57,11 @@ public:
explicit NarrowPath(Path _path):value(_path.c_str()) {}
#endif
operator const_pointer_type() const {
operator const_pointer() const {
return c_str();
}
const_pointer_type c_str() const {
const_pointer c_str() const {
return value.c_str();
}
};