Commit be7e52c8 authored by Max Kellermann's avatar Max Kellermann

output/httpd/Page: remove unused method Concat()

parent 4162ce0b
......@@ -45,17 +45,6 @@ Page::Copy(const void *data, size_t size)
return page;
}
Page *
Page::Concat(const Page &a, const Page &b)
{
Page *page = Create(a.size + b.size);
memcpy(page->data, a.data, a.size);
memcpy(page->data + a.size, b.data, b.size);
return page;
}
bool
Page::Unref()
{
......
......@@ -77,14 +77,6 @@ public:
static Page *Copy(const void *data, size_t size);
/**
* Concatenates two pages to a new page.
*
* @param a the first page
* @param b the second page, which is appended
*/
static Page *Concat(const Page &a, const Page &b);
/**
* Increases the reference counter.
*/
void Ref() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment