mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 17:48:34 +05:00
fix for warnings -Wall HYDRO
This commit is contained in:
parent
1e56c0d59c
commit
951250adc1
@ -233,7 +233,7 @@ public:
|
|||||||
//! A virtual method.
|
//! A virtual method.
|
||||||
const CurveCreator_ISection* getSection(const int theSectionIndex) const
|
const CurveCreator_ISection* getSection(const int theSectionIndex) const
|
||||||
{
|
{
|
||||||
if (theSectionIndex >= 0 && theSectionIndex < mySections.size())
|
if (theSectionIndex >= 0 && theSectionIndex < (int)mySections.size())
|
||||||
{
|
{
|
||||||
return (CurveCreator_ISection*)mySections[theSectionIndex];
|
return (CurveCreator_ISection*)mySections[theSectionIndex];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user