summaryrefslogtreecommitdiff
path: root/src/output/plugins/httpd/Page.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/plugins/httpd/Page.hxx')
-rw-r--r--src/output/plugins/httpd/Page.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/output/plugins/httpd/Page.hxx b/src/output/plugins/httpd/Page.hxx
index 3e6ce3474..b04901e25 100644
--- a/src/output/plugins/httpd/Page.hxx
+++ b/src/output/plugins/httpd/Page.hxx
@@ -36,17 +36,17 @@ class Page {
AllocatedArray<uint8_t> buffer;
public:
- explicit Page(size_t _size):buffer(_size) {}
- explicit Page(AllocatedArray<uint8_t> &&_buffer)
+ explicit Page(size_t _size) noexcept:buffer(_size) {}
+ explicit Page(AllocatedArray<uint8_t> &&_buffer) noexcept
:buffer(std::move(_buffer)) {}
- Page(const void *data, size_t size);
+ Page(const void *data, size_t size) noexcept;
- size_t GetSize() const {
+ size_t GetSize() const noexcept {
return buffer.size();
}
- const uint8_t *GetData() const {
+ const uint8_t *GetData() const noexcept {
return &buffer.front();
}
};