mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-19 05:22:21 +02:00
asio: Disable concepts support
Fix example for compatibility with C++20 * Original commit: espressif/esp-idf@9dba0476a0 * Original commit: espressif/esp-idf@157247f98f
This commit is contained in:
@ -18,8 +18,8 @@
|
||||
class chat_message
|
||||
{
|
||||
public:
|
||||
enum { header_length = 4 };
|
||||
enum { max_body_length = 512 };
|
||||
static constexpr std::size_t header_length = 4;
|
||||
static constexpr std::size_t max_body_length = 512;
|
||||
|
||||
chat_message()
|
||||
: body_length_(0)
|
||||
|
Reference in New Issue
Block a user