Skip to content
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
16 changes: 16 additions & 0 deletions ports/asiochan/fix-10.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/include/asiochan/channel.hpp b/include/asiochan/channel.hpp
index 4ffd88c..1af7547 100644
--- a/include/asiochan/channel.hpp
+++ b/include/asiochan/channel.hpp
@@ -55,6 +55,11 @@ namespace asiochan
return *shared_state_;
}

+ [[nodiscard]] auto shared_state() const noexcept -> const shared_state_type&
+ {
+ return *shared_state_;
+ }
+
[[nodiscard]] friend auto operator==(
channel_base const& lhs,
channel_base const& rhs) noexcept -> bool
2 changes: 2 additions & 0 deletions ports/asiochan/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ vcpkg_from_github(
REF 837d7eb78ca9796af800ca3cd91ce0a8fe297785
SHA512 58e1e3291dc980ed59b0bc1fdcaa35db007e0044f4cbd352917caefa2d30b0c76a3db180091c1895867a3d026ce69f3a82b33dde3970cba5bef596620a2b20f8
HEAD_REF master
PATCHES
fix-10.patch
)

file(COPY "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}")
Expand Down
1 change: 1 addition & 0 deletions ports/asiochan/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "asiochan",
"version-date": "2022-11-25",
"port-version": 1,
"description": "C++20 coroutine channels for ASIO",
"homepage": "https://github.com/MiSo1289/asiochan",
"license": "MIT"
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/asiochan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4f50cae4125b9c7d28002560aa2b7a16f8d7baa8",
"version-date": "2022-11-25",
"port-version": 1
},
{
"git-tree": "857feb5fd868cdae02e6bb9d6252174a9a39cb61",
"version-date": "2022-11-25",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
},
"asiochan": {
"baseline": "2022-11-25",
"port-version": 0
"port-version": 1
},
"asiosdk": {
"baseline": "2.3.3",
Expand Down