Resolve cppcheck issues.

Signed-off-by: John Hood <cgull@glup.org>
This commit is contained in:
John Hood
2015-03-30 22:17:05 -04:00
parent c064ec1946
commit 026a3f0346
11 changed files with 23 additions and 22 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ Instruction FragmentAssembly::get_assembly( void )
return ret;
}
bool Fragment::operator==( const Fragment &x )
bool Fragment::operator==( const Fragment &x ) const
{
return ( id == x.id ) && ( fragment_num == x.fragment_num ) && ( final == x.final )
&& ( initialized == x.initialized ) && ( contents == x.contents );
+1 -1
View File
@@ -73,7 +73,7 @@ namespace Network {
string tostring( void );
bool operator==( const Fragment &x );
bool operator==( const Fragment &x ) const;
};
class FragmentAssembly