Commit 5a884b91 authored by incardon's avatar incardon
Browse files

Adding operator==

parent 687bd49e
Pipeline #4189 passed with stages
in 9 minutes and 39 seconds
......@@ -58,6 +58,15 @@ struct GBoxes
{
return true;
}
bool operator==(const GBoxes & tmp)
{
bool is_equal = GDbox == tmp.GDbox;
is_equal &= Dbox == tmp.Dbox;
is_equal &= origin == tmp.origin;
return is_equal;
}
};
......
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