oatpp / oatpp-ssdp

Oat++ extension module to work with SSDP protocol.
https://oatpp.io/
Apache License 2.0
2 stars 2 forks source link

corrected construction of shared ptr of type std::string #5

Closed ddRenrek closed 2 years ago

ddRenrek commented 2 years ago

In UdpStream.cpp the member m_inBuffer is not correct set due to wrong usage of constructor. In old version the member is type StrBuffer, with Revision 1.3.0 it has changed to std::string. Therefore last parameter (true) must not be set.

ddRenrek commented 2 years ago

This should be a fix for https://github.com/oatpp/example-iot-hue-ssdp issue https://github.com/oatpp/example-iot-hue-ssdp/issues/3

lganzzzo commented 2 years ago

Merged! Thanks for the PR!