Fix compilation errors (READ_TIMEOUT, READ_TIMEOUT)
This commit is contained in:
parent
07b4b785fc
commit
ad769d6614
|
@ -33,9 +33,10 @@ class Connection : public LuaObject
|
|||
typedef std::function<void(const boost::system::error_code&)> ErrorCallback;
|
||||
typedef std::function<void(uint8*, uint16)> RecvCallback;
|
||||
|
||||
static constexpr int32_t READ_TIMEOUT = 30;
|
||||
static constexpr int32_t WRITE_TIMEOUT = 30;
|
||||
|
||||
enum {
|
||||
READ_TIMEOUT = 30,
|
||||
WRITE_TIMEOUT = 30,
|
||||
SEND_BUFFER_SIZE = 65536,
|
||||
RECV_BUFFER_SIZE = 65536
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue