Skip to content

Commit

Permalink
Fix umb_echo_server build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Nov 29, 2023
1 parent 849a6a3 commit 1a3abb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/umb_echo_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ awaitable<void> echo(tcp::socket socket)
std::cout << std::format("part: {}\n", header.part);

#if WINDOWS
const auto mt_str = std::to_string(static_cast<uint16_t>(type));
const auto mt_str = std::to_string(static_cast<uint16_t>(header.type));
#else
const auto mt_str = testmessages::umb::meta::to_string(header.type);
#endif
Expand Down

0 comments on commit 1a3abb5

Please sign in to comment.