mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-01 10:21:46 +02:00
Fix compilation with boost v1.87.0
This commit is contained in:
parent
b2fd2bf9ef
commit
6190041e86
2 changed files with 3 additions and 4 deletions
|
@ -114,7 +114,7 @@ void StreamSessionWebsocket::on_read_ws(beast::error_code ec, std::size_t bytes_
|
|||
return;
|
||||
}
|
||||
|
||||
auto* data = boost::asio::buffer_cast<char*>(buffer_.data());
|
||||
auto* data = static_cast<char*>(buffer_.data().data());
|
||||
baseMessage_.deserialize(data);
|
||||
LOG(DEBUG, LOG_TAG) << "getNextMessage: " << baseMessage_.type << ", size: " << baseMessage_.size << ", id: " << baseMessage_.id
|
||||
<< ", refers: " << baseMessage_.refersTo << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue