Fix a fatal compil error on gcc.

This commit is contained in:
jean-pierre charras 2022-11-17 08:39:42 +01:00
parent 6418441218
commit 3960f48b5d
1 changed files with 3 additions and 0 deletions

View File

@ -261,6 +261,9 @@ VECTOR2I DIALOG_POSITION_RELATIVE::getAnchorPos()
case ANCHOR_ITEM:
return m_anchorItemPosition;
}
// Needed by some compilers to avoid a fatal compil error (no return value).
return m_anchorItemPosition;
}