X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSocketSink.hh;h=742e2dbbd9507b249aff4a1b5e1f536331f6a5ae;hb=92f8630b75f3ef50e73c48cde58645dcd1534e27;hp=65926d7aeb8417c79fe816aa53d9ac7fe92c3f56;hpb=3c3f12e715cd474208351347316f59fdaf19ef81;p=senf.git diff --git a/PPI/SocketSink.hh b/PPI/SocketSink.hh index 65926d7..742e2db 100644 --- a/PPI/SocketSink.hh +++ b/PPI/SocketSink.hh @@ -57,7 +57,7 @@ namespace ppi { senf::ConnectedCommunicationPolicy>::policy > Handle; ///< Handle type supported by this writer - void operator()(Handle handle, Packet packet); + void operator()(Handle handle, Packet const & packet); ///< Write \a packet to \a handle /**< Write the complete \a packet as a datagram to \a handle. @@ -80,7 +80,7 @@ namespace ppi { void destination(senf::INet4SocketAddress & dest); senf::INet4SocketAddress destination(); - void operator()(Handle handle, Packet packet); + void operator()(Handle handle, Packet const & packet); ///< Write \a packet to \a handle /**< Write the complete \a packet as a datagram to \a handle. @@ -108,7 +108,7 @@ namespace ppi { void destination(senf::INet6SocketAddress & dest); senf::INet6SocketAddress destination(); - void operator()(Handle handle, Packet packet); + void operator()(Handle handle, Packet const & packet); ///< Write \a packet to \a handle /**< Write the complete \a packet as a datagram to \a handle.