nzmqt
nzmqt copied to clipboard
Compilation issues at impl.hpp
At https://github.com/jonnydee/nzmqt/blob/master/include/nzmqt/impl.hpp#L87 I get an error in compiling using G++ 9.2.0.
Instead of QByteArray(data
./nzmqt/impl.hpp: In member function 'QByteArray nzmqt::ZMQMessage::toByteArray()':
./nzmqt/impl.hpp:90:43: error: expected primary-expression before '(' token
90 | return size() <= INT_MAX ? QByteArray(data<char>(), int(size())) : QByteArray();
| ^
./nzmqt/impl.hpp:90:49: error: expected primary-expression before 'char'
90 | return size() <= INT_MAX ? QByteArray(data<char>(), int(size())) : QByteArray();