Skip to content

Commit

Permalink
lp: change return of LpPacket::wireEncode() to non-const
Browse files Browse the repository at this point in the history
refs #3324

Change-Id: I0b178bc59f8107a947f5f500d7db4cdb9c1e2596
  • Loading branch information
eric135 committed Nov 7, 2015
1 parent b1990df commit 82838be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lp/packet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Packet::wireEncode<encoding::EncoderTag>(EncodingImpl<encoding::EncoderTag>& enc
template size_t
Packet::wireEncode<encoding::EstimatorTag>(EncodingImpl<encoding::EstimatorTag>& encoder) const;

const Block
Block
Packet::wireEncode() const
{
if (m_wire.hasWire()) {
Expand Down
2 changes: 1 addition & 1 deletion src/lp/packet.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Packet
/**
* \brief encode packet into wire format
*/
const Block
Block
wireEncode() const;

/**
Expand Down

0 comments on commit 82838be

Please sign in to comment.