Add const to fragmenter
This commit is contained in:
@@ -136,7 +136,7 @@ bool Fragment::operator==( const Fragment &x )
|
||||
&& ( initialized == x.initialized ) && ( contents == x.contents );
|
||||
}
|
||||
|
||||
vector<Fragment> Fragmenter::make_fragments( Instruction &inst, int MTU )
|
||||
vector<Fragment> Fragmenter::make_fragments( const Instruction &inst, int MTU )
|
||||
{
|
||||
if ( (inst.old_num() != last_instruction.old_num())
|
||||
|| (inst.new_num() != last_instruction.new_num())
|
||||
|
||||
Reference in New Issue
Block a user