Archived issue #0024892

AIS_TexturedShape::ShowTriangles overloads mismatch

CommunityOCCT:Codingclosed2 public notes

Search issues

Description

in the class AIS_TexturedShape there are 2 methos that can be called without arguments as one has optional parameters so there is an error calling the method without arguments as all the 2 methos match the argument list

Standard_Boolean ShowTriangles();

void ShowTriangles (const Standard_Boolean theToShowTriangles = Standard_False);

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Please test compilation of the patch in branch CR24892.
02Commenter 2
Dear Commenter 1,

Branch CR24892 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 0 (0 on master)

products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 355904828 / 355561056
Total CPU difference: 52563.62000000003 / 53337.799999999814

Testing on Windows:
Total MEMORY difference: 379351136 / 379843896
Total CPU difference: 34785.09375 / 36615.28125

There are no differences in images found by testdiff.