mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
fix target 2
This commit is contained in:
parent
92ca99b82c
commit
cbd1d04cab
1 changed files with 2 additions and 2 deletions
|
@ -546,14 +546,14 @@ AsyncWebRequest::~AsyncWebRequest() {
|
|||
}
|
||||
|
||||
AsyncWebResult<std::monostate> AsyncWebResponse::into(std::ostream& stream) {
|
||||
m_request.extra().m_target = &stream;
|
||||
m_request.m_target = &stream;
|
||||
return this->as(+[](ByteVector const&) -> Result<std::monostate> {
|
||||
return Ok(std::monostate());
|
||||
});
|
||||
}
|
||||
|
||||
AsyncWebResult<std::monostate> AsyncWebResponse::into(ghc::filesystem::path const& path) {
|
||||
m_request.extra().m_target = path;
|
||||
m_request.m_target = path;
|
||||
return this->as(+[](ByteVector const&) -> Result<std::monostate> {
|
||||
return Ok(std::monostate());
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue