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

@@ -32,12 +32,12 @@ template<typename T>
class CancellablePointer
: public boost::intrusive::list_base_hook<boost::intrusive::link_mode<boost::intrusive::normal_link>> {
public:
typedef T *pointer_type;
typedef T *pointer;
typedef T &reference_type;
typedef const T &const_reference_type;
private:
pointer_type p;
pointer p;
public:
explicit CancellablePointer(reference_type _p):p(&_p) {}