forked from OSchip/llvm-project
parent
dc0cfc9fe3
commit
7a7da75916
|
@ -55,11 +55,12 @@ class RewriteBuffer {
|
||||||
/// Buffer - This is the actual buffer itself. Note that using a vector or
|
/// Buffer - This is the actual buffer itself. Note that using a vector or
|
||||||
/// string is a horribly inefficient way to do this, we should use a rope
|
/// string is a horribly inefficient way to do this, we should use a rope
|
||||||
/// instead.
|
/// instead.
|
||||||
std::vector<char> Buffer;
|
typedef std::vector<char> BufferTy;
|
||||||
|
BufferTy Buffer;
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
||||||
typedef std::vector<char>::const_iterator iterator;
|
typedef BufferTy::const_iterator iterator;
|
||||||
iterator begin() const { return Buffer.begin(); }
|
iterator begin() const { return Buffer.begin(); }
|
||||||
iterator end() const { return Buffer.end(); }
|
iterator end() const { return Buffer.end(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue