mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-05 11:24:17 +03:00
Fixed broken compilation with clang/gcc
This commit is contained in:
parent
2d6e876392
commit
d39110dda6
@ -60,7 +60,7 @@ struct MergeSTEPEntities_CartesianPointHasher
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (Standard_Integer anIndex = 0; anIndex < aCoords1.size(); ++anIndex)
|
for (size_t anIndex = 0; anIndex < aCoords1.size(); ++anIndex)
|
||||||
{
|
{
|
||||||
if (std::abs(aCoords1[anIndex] - aCoords2[anIndex]) > aTolerance)
|
if (std::abs(aCoords1[anIndex] - aCoords2[anIndex]) > aTolerance)
|
||||||
{
|
{
|
||||||
|
@ -161,7 +161,7 @@ template <typename ProcessedType, typename ProcessedTypeHasher>
|
|||||||
void MergeSTEPEntities_EntityProcessor<ProcessedType, ProcessedTypeHasher>::Perform(
|
void MergeSTEPEntities_EntityProcessor<ProcessedType, ProcessedTypeHasher>::Perform(
|
||||||
TColStd_MapOfTransient& theReplacedEntities)
|
TColStd_MapOfTransient& theReplacedEntities)
|
||||||
{
|
{
|
||||||
for (DuplicateMap::Iterator anIter(myDuplicateMap); anIter.More(); anIter.Next())
|
for (typename DuplicateMap::Iterator anIter(myDuplicateMap); anIter.More(); anIter.Next())
|
||||||
{
|
{
|
||||||
const Handle(ProcessedType)& anEntity = anIter.Key();
|
const Handle(ProcessedType)& anEntity = anIter.Key();
|
||||||
const std::vector<Handle(ProcessedType)>& aDuplicates = anIter.Value();
|
const std::vector<Handle(ProcessedType)>& aDuplicates = anIter.Value();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user