Removed unnecessary copy from fr::Packet:add().

Should improve performance.
This commit is contained in:
Fred Nicolson 2018-03-05 10:28:11 +00:00
parent 206e421728
commit addd1cf19b

View File

@ -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;
} }