-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix duplicate symbols of asio::dummy_return<void> (#15513)
* Fix duplicate symbols of asio::dummy_return<void> * Update ports/boost-asio/CONTROL * Update ports/boost-asio/portfile.cmake Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/asio/include/asio/impl/use_awaitable.hpp b/asio/include/asio/impl/use_awaitable.hpp | ||
index 60a6f5cd..af7be635 100644 | ||
--- a/include/boost/asio/impl/use_awaitable.hpp | ||
+++ b/include/boost/asio/impl/use_awaitable.hpp | ||
@@ -236,7 +236,7 @@ T dummy_return() | ||
} | ||
|
||
template <> | ||
-void dummy_return() | ||
+inline void dummy_return() | ||
{ | ||
} | ||
#endif // defined(_MSC_VER) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters