summaryrefslogtreecommitdiff
path: root/src/yqueue.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-03 11:30:13 +0200
commitcc3755a16f00026af882ed14d122cc8aa6d50e82 (patch)
tree33a2197bab1bd6068dbfcc446fe70aaa07808fa9 /src/yqueue.hpp
parent183b6887644ac05c951a3f9143248ed86e91052f (diff)
renamed from zs to zmq
Diffstat (limited to 'src/yqueue.hpp')
-rw-r--r--src/yqueue.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/yqueue.hpp b/src/yqueue.hpp
index 78be17c..0686f07 100644
--- a/src/yqueue.hpp
+++ b/src/yqueue.hpp
@@ -17,14 +17,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __ZS_YQUEUE_HPP_INCLUDED__
-#define __ZS_YQUEUE_HPP_INCLUDED__
+#ifndef __ZMQ_YQUEUE_HPP_INCLUDED__
+#define __ZMQ_YQUEUE_HPP_INCLUDED__
#include <stddef.h>
#include "err.hpp"
-namespace zs
+namespace zmq
{
// yqueue is an efficient queue implementation. The main goal is
@@ -48,7 +48,7 @@ namespace zs
inline yqueue_t ()
{
begin_chunk = new chunk_t;
- zs_assert (begin_chunk);
+ zmq_assert (begin_chunk);
begin_pos = 0;
back_chunk = NULL;
back_pos = 0;
@@ -92,7 +92,7 @@ namespace zs
return;
end_chunk->next = new chunk_t;
- zs_assert (end_chunk->next);
+ zmq_assert (end_chunk->next);
end_chunk = end_chunk->next;
end_pos = 0;
}