Fix compilation errors (READ_TIMEOUT, READ_TIMEOUT)

This commit is contained in:
Daniel Speichert 2018-07-15 17:03:21 -04:00
parent 07b4b785fc
commit ad769d6614
1 changed files with 3 additions and 2 deletions

View File

@ -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
};