Commit 384370b6 authored by Christos Gentsos's avatar Christos Gentsos

Fix an "unexpected parenthesis" simulation error

parent 967f0554
......@@ -70,7 +70,7 @@ virtual class WrtdRepCap;
endfunction // set_rep_cap_id
function int match ( string id );
return ( get_rep_cap_id().compare ( id ) == 0 );
return ( id.compare( get_rep_cap_id() ) == 0 );
endfunction // is_equal
function int is_free ( );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment