Import: fix lint warnings
* Make constructors explicit * Fix a regression from PR 10783
This commit is contained in:
@@ -52,7 +52,7 @@ void ReaderStep::read(Handle(TDocStd_Document) hDoc) // NOLINT
|
||||
aReader.SetLayerMode(true);
|
||||
aReader.SetSHUOMode(true);
|
||||
if (aReader.ReadFile(name8bit.c_str()) != IFSelect_RetDone) {
|
||||
throw Base::FileException("Cannot read STEP file");
|
||||
throw Base::FileException("Cannot read STEP file", file);
|
||||
}
|
||||
|
||||
#if OCC_VERSION_HEX < 0x070500
|
||||
|
||||
Reference in New Issue
Block a user