From 148427d291efb8a7c1bb3c7642c46497b6fc5674 Mon Sep 17 00:00:00 2001 From: Mark Lakata Date: Mon, 9 Mar 2015 17:19:52 -0700 Subject: [PATCH] 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; --- src/stream_engine.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream_engine.hpp b/src/stream_engine.hpp index 2d83995c..d7505331 100644 --- a/src/stream_engine.hpp +++ b/src/stream_engine.hpp @@ -94,7 +94,7 @@ namespace zmq // Size of the greeting message: // 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. bool io_enabled;