Skip to content

Commit

Permalink
Fix axmolengine#1990, update yasio to v4.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Jun 14, 2024
1 parent 1a39fbf commit 299f89d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@

## yasio
- [![Upstream](https://img.shields.io/github/v/release/yasio/yasio?label=Upstream)](https://github.com/yasio/yasio)
- Version: 4.2.2
- Version: 4.2.3
- License: MIT WITH Anti-996

## zlib
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/yasio/yasio/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ SOFTWARE.
/*
** The yasio version macros
*/
#define YASIO_VERSION_NUM 0x040202
#define YASIO_VERSION_NUM 0x040203

/*
** The macros used by io_service.
Expand Down
4 changes: 3 additions & 1 deletion 3rdparty/yasio/yasio/io_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ struct yasio_kcp_options {
auto __msg = ::yasio::strfmt(127, "[yasio][%lld]" format "\n", ::yasio::clock<system_clock_t>(), ##__VA_ARGS__); \
if (__cprint) \
__cprint(level, __msg.c_str()); \
else \
else { \
__msg.back() = '\0'; \
YASIO_LOG_TAG("", "%s", __msg.c_str()); \
} \
} while (false)
// clang-format on

Expand Down

0 comments on commit 299f89d

Please sign in to comment.