mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Pass a marker struct instead of an empty array
This commit is contained in:
@@ -18,7 +18,7 @@ intptr_t send_event(boost::asio::local::stream_protocol::socket& socket,
|
||||
if (c_string[0] != 0) {
|
||||
payload = std::string(c_string);
|
||||
} else {
|
||||
payload = std::array<char, max_string_length>();
|
||||
payload = NeedsBuffer{};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user