forked from boostorg/beast
Don't use typeid
This commit is contained in:
1 parent
1a88cb147b
commit
a4eb96fcb9
8 files changed
+40
-38
No files matched your search
@@ -61,6 +61,8 @@ class stream<NextLayer, deflateSupported>::close_op
|
||||
handler_ptr<state, Handler> d_;
|
||||
|
||||
public:
|
||||
static constexpr int id = 4; // for soft_mutex
|
||||
|
||||
close_op(close_op&&) = default;
|
||||
close_op(close_op const&) = delete;
|
||||
|
||||
|
||||
@@ -59,6 +59,8 @@ class stream<NextLayer, deflateSupported>::ping_op
|
||||
handler_ptr<state, Handler> d_;
|
||||
|
||||
public:
|
||||
static constexpr int id = 3; // for soft_mutex
|
||||
|
||||
ping_op(ping_op&&) = default;
|
||||
ping_op(ping_op const&) = delete;
|
||||
|
||||
|
||||
@@ -90,6 +90,8 @@ class stream<NextLayer, deflateSupported>::read_some_op
|
||||
bool cont_ = false;
|
||||
|
||||
public:
|
||||
static constexpr int id = 1; // for soft_mutex
|
||||
|
||||
read_some_op(read_some_op&&) = default;
|
||||
read_some_op(read_some_op const&) = delete;
|
||||
|
||||
|
||||
@@ -152,6 +152,8 @@ class stream<NextLayer, deflateSupported>::write_some_op
|
||||
bool cont_ = false;
|
||||
|
||||
public:
|
||||
static constexpr int id = 2; // for soft_mutex
|
||||
|
||||
write_some_op(write_some_op&&) = default;
|
||||
write_some_op(write_some_op const&) = delete;
|
||||
|
||||
|
||||
Reference in new issue
Block a user