forward declare zmq_msg_t and moved include (#869)

* forward declare zmq_msg_t and moved include

* removed zmq from pkg list
This commit is contained in:
Erik Fröjdh 2023-11-20 11:43:30 +01:00 committed by GitHub
parent 96ed74c47c
commit d7aa3305d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v3
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libzmq3-dev libhdf5-dev qtbase5-dev qt5-qmake libqt5svg5-dev
packages: libhdf5-dev qtbase5-dev qt5-qmake libqt5svg5-dev
version: 1.0
- name: Configure CMake

View File

@ -24,8 +24,9 @@
#include <rapidjson/document.h> //json header in zmq stream
#pragma GCC diagnostic pop
#include <zmq.h>
//#include <zmq.h>
class zmq_msg_t;
namespace sls {
#define MAX_STR_LENGTH 1000

View File

@ -10,7 +10,7 @@
#include <string.h>
#include <thread>
#include <vector>
#include <zmq.h>
namespace sls {
using namespace rapidjson;