X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FCloneSource.cc;h=cb0b67c9aec7c88e1b9a72b7b1d430335d2f2463;hb=a1fdb7bb122f0b05be809a922d4b7ef5e125fa67;hp=9abde7320ab0825eb63b73fd1f5cbc08523e3113;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/PPI/CloneSource.cc b/PPI/CloneSource.cc index 9abde73..cb0b67c 100644 --- a/PPI/CloneSource.cc +++ b/PPI/CloneSource.cc @@ -32,7 +32,7 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -senf::ppi::module::CloneSource::CloneSource(senf::Packet packet) +senf::ppi::module::CloneSource::CloneSource(senf::Packet const & packet) : packet_(packet) { noroute(output); @@ -43,7 +43,8 @@ void senf::ppi::module::CloneSource::request() { output(packet_.clone()); } -void senf::ppi::module::CloneSource::replacePacket(senf::Packet packet) + +void senf::ppi::module::CloneSource::replacePacket(senf::Packet const & packet) { packet_ = packet; }