Skip to content

Commit

Permalink
update for macosx
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Aug 12, 2024
1 parent 8183cf8 commit b68950a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hikyuu/utilities/http_client/HttpClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void HttpClient::_connect() {

if (!m_conn.valid()) {
NNG_CHECK(m_aio.wait().result());
m_conn = std::move(nng::http_conn((nng_http_conn*)m_aio.get_output(0)));
m_conn = nng::http_conn((nng_http_conn*)m_aio.get_output(0));
}
}

Expand Down
2 changes: 1 addition & 1 deletion hikyuu/utilities/http_client/HttpClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class HKU_UTILS_API HttpClient {
}

void setUrl(const std::string& url) noexcept {
m_url = std::move(nng::url(url));
m_url = nng::url(url);
reset();
}

Expand Down

0 comments on commit b68950a

Please sign in to comment.