From b57e6fa5bd1ad615883f3dab563feca7da645746 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 12 Mar 2022 19:06:02 +0100 Subject: [PATCH] [3rdParty] SalomeMesh: fix parameter typos found by the spellchecker CI --- src/3rdParty/salomesmesh/inc/SMDS_SetIterator.hxx | 8 ++++---- src/3rdParty/salomesmesh/inc/SMESH_tree.hxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/3rdParty/salomesmesh/inc/SMDS_SetIterator.hxx b/src/3rdParty/salomesmesh/inc/SMDS_SetIterator.hxx index 169b10aff7..6593d9dcd0 100644 --- a/src/3rdParty/salomesmesh/inc/SMDS_SetIterator.hxx +++ b/src/3rdParty/salomesmesh/inc/SMDS_SetIterator.hxx @@ -77,7 +77,7 @@ namespace SMDS { template, + typename ACCESSOR =SMDS::SimpleAccessor, typename VALUE_FILTER=SMDS::PassAllValueFilter > class SMDS_SetIterator : public SMDS_Iterator { @@ -98,7 +98,7 @@ public: _beg = begin; _end = end; _filter = filter; - if ( more() && !_filter( ACCESOR::value( _beg ))) + if ( more() && !_filter(ACCESSOR::value( _beg ))) next(); } /// Return true iff there are other object in this iterator @@ -109,8 +109,8 @@ public: /// Return the current object and step to the next one virtual VALUE next() { - VALUE ret = ACCESOR::value( _beg++ ); - while ( more() && !_filter( ACCESOR::value( _beg ))) + VALUE ret = ACCESSOR::value( _beg++ ); + while ( more() && !_filter(ACCESSOR::value( _beg ))) ++_beg; return ret; } diff --git a/src/3rdParty/salomesmesh/inc/SMESH_tree.hxx b/src/3rdParty/salomesmesh/inc/SMESH_tree.hxx index eb7b2b8648..137cd2e873 100644 --- a/src/3rdParty/salomesmesh/inc/SMESH_tree.hxx +++ b/src/3rdParty/salomesmesh/inc/SMESH_tree.hxx @@ -265,14 +265,14 @@ int SMESH_Tree::getHeight(const bool full) const if ( isLeaf() ) return 1; - int heigth = 0; + int height = 0; for (int i = 0; igetHeight( false ); - if ( h > heigth ) - heigth = h; + if ( h > height) + height = h; } - return heigth + 1; + return height + 1; } #endif