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

Update asio-grpc to v2.4.0 #652

Merged
merged 1 commit into from
Jan 3, 2023
Merged
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: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ hunter_default_version(angles VERSION 1.9.11-p0)
hunter_default_version(apg VERSION 0.0.0-b322f7a-p0)
hunter_default_version(arabica VERSION 0.0.0-a202766-p0)
hunter_default_version(asio VERSION 1.22.1-p1)
hunter_default_version(asio-grpc VERSION 2.3.0)
hunter_default_version(asio-grpc VERSION 2.4.0)
hunter_default_version(astc-encoder VERSION 3.0-7257cbd-p0)
hunter_default_version(autobahn-cpp VERSION 0.2.0)
hunter_default_version(autoutils VERSION 0.3.0)
Expand Down
11 changes: 11 additions & 0 deletions cmake/projects/asio-grpc/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,17 @@ hunter_add_version(
0855a7c3eb90ebb8def23ed9c8d8332d17c6dece
)

hunter_add_version(
PACKAGE_NAME
asio-grpc
VERSION
2.4.0
URL
"https://github.com/Tradias/asio-grpc/archive/refs/tags/v2.4.0.tar.gz"
SHA1
85021b69a6ac3e6341813ee67f7142bf63ce5720
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(asio-grpc)
hunter_download(PACKAGE_NAME asio-grpc)
2 changes: 1 addition & 1 deletion examples/asio-grpc/boo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <iostream>

int main() {
agrpc::GrpcContext grpc_context{std::make_unique<grpc::CompletionQueue>()};
agrpc::GrpcContext grpc_context;
grpc::Alarm alarm;
agrpc::wait(alarm,
std::chrono::system_clock::now() + std::chrono::milliseconds(10),
Expand Down