File tree Expand file tree Collapse file tree 12 files changed +13
-13
lines changed
Expand file tree Collapse file tree 12 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ namespace protocol {
3636class BCP_API authority
3737{
3838public:
39- DEFAULT5 (authority);
39+ DEFAULT_COPY_MOVE_DESTRUCT (authority);
4040
4141 typedef std::shared_ptr<authority> ptr;
4242
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ namespace protocol {
3636class BCP_API endpoint
3737{
3838public:
39- DEFAULT5 (endpoint);
39+ DEFAULT_COPY_MOVE_DESTRUCT (endpoint);
4040
4141 typedef std::shared_ptr<endpoint> ptr;
4242
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ namespace protocol {
3232class BCP_API sodium
3333{
3434public:
35- DEFAULT5 (sodium);
35+ DEFAULT_COPY_MOVE_DESTRUCT (sodium);
3636
3737 // / A list of base85 values.
3838 // / This must provide operator<< for ostream in order to be used as a
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class BCP_API authenticator
4040 : public worker
4141{
4242public:
43- DELETE4 (authenticator);
43+ DELETE_COPY_MOVE (authenticator);
4444
4545 // / A shared authenticator pointer.
4646 typedef std::shared_ptr<authenticator> ptr;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ namespace zmq {
3434class BCP_API certificate
3535{
3636public:
37- DEFAULT5 (certificate);
37+ DEFAULT_COPY_MOVE_DESTRUCT (certificate);
3838
3939 // / Construct an arbitary keypair as a new certificate.
4040 // / This always reduces keyspace, disallowing '#' in text encoding.
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class BCP_API context
3636 : public enable_shared_from_base<context>
3737{
3838public:
39- DELETE4 (context);
39+ DELETE_COPY_MOVE (context);
4040
4141 // / A shared context pointer.
4242 typedef std::shared_ptr<context> ptr;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class BCP_API frame
3535 : public enable_shared_from_base<frame>
3636{
3737public:
38- DEFAULT4 (frame);
38+ DEFAULT_COPY_MOVE (frame);
3939
4040 // / A shared frame pointer.
4141 typedef std::shared_ptr<frame> ptr;
@@ -72,7 +72,7 @@ class BCP_API frame
7272 bool destroy () NOEXCEPT;
7373
7474 bool more_;
75- const bool valid_;
75+ bool valid_;
7676
7777 // Mutability is a hack around lack of const overloads in zeromq, allowing
7878 // the payload method to be properly const while other access is not.
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ typedef intptr_t identifier;
3535class BCP_API identifiers
3636{
3737public:
38- DEFAULT5 (identifiers);
38+ DEFAULT_COPY_MOVE_DESTRUCT (identifiers);
3939
4040 // / Construct.
4141 identifiers () NOEXCEPT;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ namespace zmq {
3535class BCP_API message
3636{
3737public:
38- DEFAULT5 (message);
38+ DEFAULT_COPY_MOVE_DESTRUCT (message);
3939
4040 // / A zeromq route identifier is always this size.
4141 static constexpr size_t address_size = 5 ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class BCP_API poller
3838 : public enable_shared_from_base<poller>
3939{
4040public:
41- DELETE5 (poller);
41+ DELETE_COPY_MOVE_DESTRUCT (poller);
4242
4343 // / A shared poller pointer.
4444 typedef std::shared_ptr<poller> ptr;
You can’t perform that action at this time.
0 commit comments