FixedList: Correction to comparison operators

This commit is contained in:
Will Bainbridge
2022-02-25 17:21:48 +00:00
parent d87a939ea6
commit bb172b77ef

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -87,14 +87,7 @@ bool Foam::FixedList<T, Size>::operator<(const FixedList<T, Size>& a) const
}
}
if (Size < a.Size)
{
return true;
}
else
{
return false;
}
return false;
}