Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: vc17 update (Visual Studio 2022) #91

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,5 @@ ipch/
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
/vc17/otclient
/vc17/angle
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can clone repoistory and use github action build-on-request workload.

### Windows

You need visual studio 2019 and vcpkg with commit `3b3bd424827a1f7f4813216f6b32b6c61e386b2e` ([download](https://github.com/microsoft/vcpkg/archive/3b3bd424827a1f7f4813216f6b32b6c61e386b2e.zip)).
You need visual studio 2022 and vcpkg with commit `3b3bd424827a1f7f4813216f6b32b6c61e386b2e` ([download](https://github.com/microsoft/vcpkg/archive/3b3bd424827a1f7f4813216f6b32b6c61e386b2e.zip)).

Then you install vcpkg dependencies:
```bash
Expand Down
4 changes: 2 additions & 2 deletions src/framework/http/session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ void HttpSession::on_read_header(const boost::system::error_code& ec, size_t byt

auto msg = m_response.get();
m_result->status = msg.result_int();
m_result->size = atoi(msg["Content-Length"].to_string().c_str());
m_result->size = atoi(msg["Content-Length"].data());
auto location = msg["Location"];

if (!location.empty()) {
auto session = std::make_shared<HttpSession>(m_service, location.to_string(), m_agent, m_timeout, m_isJson, m_result, m_callback);
auto session = std::make_shared<HttpSession>(m_service, location.data(), m_agent, m_timeout, m_isJson, m_result, m_callback);
session->start();
return close();
}
Expand Down
3 changes: 0 additions & 3 deletions vc16/angle/include/EGL/.clang-format

This file was deleted.

361 changes: 0 additions & 361 deletions vc16/angle/include/EGL/egl.h

This file was deleted.

1,372 changes: 0 additions & 1,372 deletions vc16/angle/include/EGL/eglext.h

This file was deleted.

307 changes: 0 additions & 307 deletions vc16/angle/include/EGL/eglext_angle.h

This file was deleted.

Loading
Loading