Removed unnecessary copy from fr::Packet:add().
Should improve performance.
This commit is contained in:
parent
206e421728
commit
addd1cf19b
@ -44,7 +44,7 @@ namespace fr
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
inline void add(T const part)
|
inline void add(T const &part)
|
||||||
{
|
{
|
||||||
*this << part;
|
*this << part;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user