parent
689b825627
commit
1cf4801108
1 changed files with 0 additions and 6 deletions
|
@ -75,12 +75,6 @@ struct TeeSink : ParseSink
|
||||||
TeeSource source;
|
TeeSource source;
|
||||||
|
|
||||||
TeeSink(Source & source) : source(source) { }
|
TeeSink(Source & source) : source(source) { }
|
||||||
|
|
||||||
void preallocateContents(unsigned long long size) override
|
|
||||||
{
|
|
||||||
source.data->reserve(source.data->size() + size + 1024);
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void parseDump(ParseSink & sink, Source & source);
|
void parseDump(ParseSink & sink, Source & source);
|
||||||
|
|
Loading…
Reference in a new issue