Import: fix lint warnings

* Make constructors explicit
* Fix a regression from PR 10783
This commit is contained in:
wmayer
2023-10-01 01:58:32 +02:00
committed by wwmayer
parent 75b313be28
commit 58cc0f2a0d
11 changed files with 26 additions and 27 deletions

View File

@@ -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