fixed by commit b20e463177
This commit is contained in:
parent
b20e463177
commit
248aca3f70
@ -137,9 +137,6 @@ void discovery_list_header::oStream(ACN::PDU::Stream stream) const
|
|||||||
*/
|
*/
|
||||||
void discovery_list_data::iStream(ACN::PDU::Stream stream)
|
void discovery_list_data::iStream(ACN::PDU::Stream stream)
|
||||||
{
|
{
|
||||||
if (!stream->available())
|
|
||||||
// empty discovery lists are valid and will have no remaining bytes.
|
|
||||||
stream->setstate(std::ios_base::eofbit);
|
|
||||||
while (stream->good())
|
while (stream->good())
|
||||||
{
|
{
|
||||||
found.emplace_back(std::make_shared<discoveredUniverse>());
|
found.emplace_back(std::make_shared<discoveredUniverse>());
|
||||||
|
Loading…
Reference in New Issue
Block a user