[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2023-09-12 13:03:02 +00:00
committed by WandererFan
parent c469601f95
commit 222a2520b1
435 changed files with 2669 additions and 2645 deletions

View File

@@ -23,7 +23,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
#include <cassert>
#endif// #ifndef _PreComp_
#endif // #ifndef _PreComp_
#include <boost/core/ignore_unused.hpp>
@@ -50,7 +50,7 @@ template<typename T>
GeoListModel<T>::GeoListModel(const std::vector<T>& geometrylist,
int intgeocount)
: geomlist(geometrylist)
,// copy constructed here
, // copy constructed here
intGeoCount(intgeocount)
, OwnerT(false)
, indexInit(false)
@@ -322,7 +322,7 @@ void GeoListModel<T>::rebuildVertexIndex() const
template<typename T>
Sketcher::GeoElementId GeoListModel<T>::getGeoElementIdFromVertexId(int vertexId)
{
if (!indexInit) {// lazy initialised
if (!indexInit) { // lazy initialised
rebuildVertexIndex();
}
@@ -332,7 +332,7 @@ Sketcher::GeoElementId GeoListModel<T>::getGeoElementIdFromVertexId(int vertexId
template<typename T>
int GeoListModel<T>::getVertexIdFromGeoElementId(const Sketcher::GeoElementId& geoelementId) const
{
if (!indexInit) {// lazy initialised
if (!indexInit) { // lazy initialised
rebuildVertexIndex();
}
@@ -431,7 +431,7 @@ GeoListModel<GeometryFacadeUniquePtr>::getGeoListModel(
#endif
}// namespace Sketcher
} // namespace Sketcher
GeoListFacade Sketcher::getGeoListFacade(const GeoList& geolist)
{