relation change
This commit is contained in:
@@ -38,32 +38,3 @@ char* mergeStr(const char* first, const char* second) //Create new string from 2
|
||||
result[j] = '\0';
|
||||
return result;
|
||||
}
|
||||
|
||||
Relation strToRel(const char* str)
|
||||
{
|
||||
if (strComp(str, "Father"))
|
||||
return Father;
|
||||
else if (strComp(str, "Mother"))
|
||||
return Mother;
|
||||
else if (strComp(str, "Son"))
|
||||
return Son;
|
||||
else if (strComp(str, "Daughter"))
|
||||
return Daughter;
|
||||
else if (strComp(str, "Brother"))
|
||||
return Brother;
|
||||
else if (strComp(str, "Sister"))
|
||||
return Sister;
|
||||
else if (strComp(str, "HalfBrother"))
|
||||
return HalfBrother;
|
||||
else if (strComp(str, "HalfSister"))
|
||||
return HalfSister;
|
||||
else if (strComp(str, "Wife"))
|
||||
return Wife;
|
||||
else if (strComp(str, "Husband"))
|
||||
return Husband;
|
||||
else if (strComp(str, "ExWife"))
|
||||
return ExWife;
|
||||
else if (strComp(str, "ExHusband"))
|
||||
return ExHusband;
|
||||
return Invalid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user