diff options
author | Daniel Kraft <d@domob.eu> | 2018-07-17 12:51:23 +0200 |
---|---|---|
committer | Daniel Kraft <d@domob.eu> | 2020-09-07 10:56:22 +0200 |
commit | a3ffb6ebebd753cec294c91cef7c603a30cf217e (patch) | |
tree | 2c9924ca5ac65d2c742227eea19163dc4d73b6a7 /src/zmq/zmqabstractnotifier.cpp | |
parent | 7f2ad1b9acef4ccc1b3e1a9f551416235d95cbfd (diff) |
Replace zmqconfig.h by a simple zmqutil.
zmqconfig.h is currently not really needed anywhere, except that
it declares zmqError (which is then defined in
zmqnotificationinterface.cpp). Note in particular that there is
no need to conditionally include zmq.h only if ZMQ is enabled, because
the place in the core code where the ZMQ library itself is included
(init.cpp) is conditional already on that.
This commit removes zmqconfig.h and replaces it by a much simpler
zmqutil.h library for zmqError. The definition of the function is
moved to the matching (newly created) zmqutil.cpp.
Diffstat (limited to 'src/zmq/zmqabstractnotifier.cpp')
-rw-r--r-- | src/zmq/zmqabstractnotifier.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zmq/zmqabstractnotifier.cpp b/src/zmq/zmqabstractnotifier.cpp index aae760adde..0d0428f3c0 100644 --- a/src/zmq/zmqabstractnotifier.cpp +++ b/src/zmq/zmqabstractnotifier.cpp @@ -4,6 +4,8 @@ #include <zmq/zmqabstractnotifier.h> +#include <cassert> + const int CZMQAbstractNotifier::DEFAULT_ZMQ_SNDHWM; CZMQAbstractNotifier::~CZMQAbstractNotifier() |