output/httpd/Page: convert to type alias on AllocatedArray

This commit is contained in:
Max Kellermann
2021-02-17 17:57:20 +01:00
parent 6f04b2230a
commit ce6afe9379
7 changed files with 17 additions and 64 deletions

View File

@@ -164,7 +164,7 @@ HttpdOutput::ReadPage()
if (size == 0)
return nullptr;
return std::make_shared<Page>(buffer, size);
return std::make_shared<Page>(ConstBuffer{buffer, size});
}
inline void