mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00:00
Update stream_engine.hpp
The Intel compiler complains about the order of "static" and "const". The fix is a simple switch to one line in one header file. In file included from ipc_listener.cpp(29): stream_engine.hpp(97): error #82: storage class is not first const static size_t greeting_size = 12;
This commit is contained in:
parent
3498e893dc
commit
148427d291
@ -94,7 +94,7 @@ namespace zmq
|
|||||||
|
|
||||||
// Size of the greeting message:
|
// Size of the greeting message:
|
||||||
// Preamble (10 bytes) + version (1 byte) + socket type (1 byte).
|
// Preamble (10 bytes) + version (1 byte) + socket type (1 byte).
|
||||||
const static size_t greeting_size = 12;
|
static const size_t greeting_size = 12;
|
||||||
|
|
||||||
// True iff we are registered with an I/O poller.
|
// True iff we are registered with an I/O poller.
|
||||||
bool io_enabled;
|
bool io_enabled;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user