|
38 | 38 | #include <utility> |
39 | 39 | #include <vector> |
40 | 40 |
|
41 | | -#include "httpserver/detail/body.hpp" // complete type for body_->~response_body() |
| 41 | +#include "httpserver/detail/response_body.hpp" // complete type for body_->~response_body() |
42 | 42 | #include "httpserver/detail/http_field_validation.hpp" |
43 | 43 | #include "httpserver/http_utils.hpp" |
44 | 44 | #include "httpserver/iovec_entry.hpp" |
@@ -73,7 +73,7 @@ static_assert(alignof(http_response) >= 16, |
73 | 73 | // discriminator impossible to get out of sync. Both helpers are |
74 | 74 | // noexcept: destroy_body relies on body subclass dtors being |
75 | 75 | // noexcept, adopt_body_from relies on the noexcept move_into() virtual |
76 | | -// (statically asserted per-subclass in detail/body.hpp). |
| 76 | +// (statically asserted per-subclass in detail/response_body.hpp). |
77 | 77 | // |
78 | 78 | // Members are private; they live as out-of-line member functions so |
79 | 79 | // they have access without an extra friend declaration. |
@@ -133,7 +133,7 @@ http_response::~http_response() { |
133 | 133 | // noexcept because every member's move is noexcept (header_map is a |
134 | 134 | // std::map, std::map move is noexcept; std::byte[64] is trivially |
135 | 135 | // movable; per-subclass body move ctors are noexcept by static_assert in |
136 | | -// detail/body.hpp). |
| 136 | +// detail/response_body.hpp). |
137 | 137 | // ----------------------------------------------------------------------- |
138 | 138 | http_response::http_response(http_response&& other) noexcept |
139 | 139 | : status_code_(other.status_code_), |
|
0 commit comments