output/httpd/Page: remove unused method Concat()
This commit is contained in:
parent
4162ce0bc5
commit
be7e52c882
@ -45,17 +45,6 @@ Page::Copy(const void *data, size_t size)
|
|||||||
return page;
|
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
|
bool
|
||||||
Page::Unref()
|
Page::Unref()
|
||||||
{
|
{
|
||||||
|
@ -76,14 +76,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
static Page *Copy(const void *data, size_t size);
|
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.
|
* Increases the reference counter.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user