Version.h: Fix comparison of null version in Version class
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
This commit is contained in:
parent
7ed993b54e
commit
f49ad2ee03
@ -115,7 +115,8 @@ private:
|
|||||||
} else if (numValid && other.m_isNull) {
|
} else if (numValid && other.m_isNull) {
|
||||||
return m_numPart != 0;
|
return m_numPart != 0;
|
||||||
} else if (m_isNull || other.m_isNull) {
|
} else if (m_isNull || other.m_isNull) {
|
||||||
return false;
|
if ((m_stringPart == ".") || (other.m_stringPart == ".")) return false;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
if(numValid && other.numValid)
|
if(numValid && other.numValid)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user