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