summaryrefslogtreecommitdiff
path: root/src/pgm_receiver.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-13 11:27:43 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-13 11:27:43 +0100
commitc43aded531014895973c283fdd82bb2e5e85c789 (patch)
treeb849837d66ea97cd5bf31bca02086958a91840fd /src/pgm_receiver.hpp
parentf4ac8d7a443bd1afb35634d1cccb79943cc316e0 (diff)
debug code removed from PGM engines
Diffstat (limited to 'src/pgm_receiver.hpp')
-rw-r--r--src/pgm_receiver.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/pgm_receiver.hpp b/src/pgm_receiver.hpp
index f92f1c5..fa84acb 100644
--- a/src/pgm_receiver.hpp
+++ b/src/pgm_receiver.hpp
@@ -37,7 +37,6 @@
#include "zmq_decoder.hpp"
#include "pgm_socket.hpp"
-
namespace zmq
{
@@ -66,13 +65,16 @@ namespace zmq
private:
// Map to hold TSI, joined and decoder for each peer.
- struct peer_info_t {
+ struct peer_info_t
+ {
bool joined;
zmq_decoder_t *decoder;
};
- struct tsi_comp {
- bool operator () (const pgm_tsi_t &ltsi, const pgm_tsi_t &rtsi) const
+ struct tsi_comp
+ {
+ inline bool operator () (const pgm_tsi_t &ltsi,
+ const pgm_tsi_t &rtsi) const
{
if (ltsi.sport < rtsi.sport)
return true;