summaryrefslogtreecommitdiff
path: root/src/reaper.hpp
diff options
context:
space:
mode:
authorAJ Lewis <aj.lewis@quantum.com>2011-11-09 15:22:20 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-11-09 15:22:20 +0100
commitc79abee6bcaa996f50be71bd1d3075e3affb469d (patch)
treeddbbe8d56fd65f0949b3f990472365a4b3e01f63 /src/reaper.hpp
parent89962a825697dd9eca057c032ec61de71b075539 (diff)
Get AIX 6.1 compiling again by making msg_t class explicit
Older versions of gcc have problems with in-line forward declarations when there's a naming conflict with a global symbol. Signed-off-by: AJ Lewis <aj.lewis@quantum.com> Expand the original patch to all such forward declarations. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/reaper.hpp')
-rw-r--r--src/reaper.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/reaper.hpp b/src/reaper.hpp
index 1c1533f..66a3db9 100644
--- a/src/reaper.hpp
+++ b/src/reaper.hpp
@@ -29,11 +29,14 @@
namespace zmq
{
+ class ctx_t;
+ class socket_base_t;
+
class reaper_t : public object_t, public i_poll_events
{
public:
- reaper_t (class ctx_t *ctx_, uint32_t tid_);
+ reaper_t (zmq::ctx_t *ctx_, uint32_t tid_);
~reaper_t ();
mailbox_t *get_mailbox ();
@@ -50,7 +53,7 @@ namespace zmq
// Command handlers.
void process_stop ();
- void process_reap (class socket_base_t *socket_);
+ void process_reap (zmq::socket_base_t *socket_);
void process_reaped ();
// Reaper thread accesses incoming commands via this mailbox.