From cc3755a16f00026af882ed14d122cc8aa6d50e82 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 3 Aug 2009 11:30:13 +0200 Subject: renamed from zs to zmq --- src/yqueue.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/yqueue.hpp') 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 . */ -#ifndef __ZS_YQUEUE_HPP_INCLUDED__ -#define __ZS_YQUEUE_HPP_INCLUDED__ +#ifndef __ZMQ_YQUEUE_HPP_INCLUDED__ +#define __ZMQ_YQUEUE_HPP_INCLUDED__ #include #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; } -- cgit v1.2.3