diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-06-04 15:24:06 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-06-04 15:24:06 +0200 |
commit | 67ca7dcbe6b072b74a112ce4df4529cda82c0f13 (patch) | |
tree | 8837e75fa23a902fe3b00a8f18aa1b80637394a4 /perf | |
parent | d844a90690af357988b1c5ba027c740d4182d753 (diff) |
obsolete API elements removed - this commit breaks backward compatibility
Diffstat (limited to 'perf')
-rw-r--r-- | perf/local_lat.cpp | 2 | ||||
-rw-r--r-- | perf/local_thr.cpp | 2 | ||||
-rw-r--r-- | perf/remote_lat.cpp | 2 | ||||
-rw-r--r-- | perf/remote_thr.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/perf/local_lat.cpp b/perf/local_lat.cpp index 4cfb155..0628a97 100644 --- a/perf/local_lat.cpp +++ b/perf/local_lat.cpp @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp index 42b3ec7..8480ebd 100644 --- a/perf/local_thr.cpp +++ b/perf/local_thr.cpp @@ -45,7 +45,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_send: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/remote_lat.cpp b/perf/remote_lat.cpp index 1a408f1..cd465f7 100644 --- a/perf/remote_lat.cpp +++ b/perf/remote_lat.cpp @@ -46,7 +46,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); roundtrip_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_init: %s\n", zmq_strerror (errno)); return -1; diff --git a/perf/remote_thr.cpp b/perf/remote_thr.cpp index 99fa482..002aaf2 100644 --- a/perf/remote_thr.cpp +++ b/perf/remote_thr.cpp @@ -42,7 +42,7 @@ int main (int argc, char *argv []) message_size = atoi (argv [2]); message_count = atoi (argv [3]); - ctx = zmq_init (1, 1, 0); + ctx = zmq_init (1); if (!ctx) { printf ("error in zmq_recv: %s\n", zmq_strerror (errno)); return -1; |