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

This commit is contained in:
Max Kellermann 2017-02-19 20:13:19 +01:00
parent 4162ce0bc5
commit be7e52c882
2 changed files with 0 additions and 19 deletions

View File

@ -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()
{

View File

@ -76,14 +76,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.
*/