Commits
Michael Dickens authored ca8db4ae7bc
68 68 | |
69 69 | -#if __cplusplus >= 201103L || defined(_MSC_VER) && _MSC_VER > 1700 |
70 70 | +#if defined(ZMQ_USE_CXX11) || defined(_MSC_VER) && _MSC_VER > 1700 |
71 71 | #define ZMQ_HAS_MOVE_SEMANTICS |
72 72 | #define ZMQ_MAP_INSERT_OR_EMPLACE(k, v) emplace (k, v) |
73 73 | #define ZMQ_PUSH_OR_EMPLACE_BACK emplace_back |
74 74 | diff --git a/src/ctx.cpp b/src/ctx.cpp |
75 75 | index e362cfa..27ae764 100644 |
76 76 | --- a/src/ctx.cpp |
77 77 | +++ b/src/ctx.cpp |
78 - | |
78 + | |
79 79 | end = _endpoints.end (); |
80 80 | it != end;) { |
81 81 | if (it->second.socket == socket_) |
82 82 | -#if __cplusplus >= 201103L |
83 83 | +#if defined(ZMQ_USE_CXX11) |
84 84 | it = _endpoints.erase (it); |
85 85 | #else |
86 86 | _endpoints.erase (it++); |
87 87 | diff --git a/src/mtrie.hpp b/src/mtrie.hpp |
88 88 | index b5ca3ac..52cdeaa 100644 |