Skip to content

Commit 455d178

Browse files
committed
Merge pull request #1135 from sovrasov:dnn_build_fix
2 parents 3f5b465 + 96222f3 commit 455d178

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/dnn/src/torch/torch_importer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -972,16 +972,16 @@ Mat readTorchBlob(const String &filename, bool isBinary)
972972
}
973973
#else
974974

975-
Ptr<Importer> createTorchImporter(const String &filename, bool isBinary)
975+
Ptr<Importer> createTorchImporter(const String&, bool)
976976
{
977977
CV_Error(Error::StsNotImplemented, "Torch importer is disabled in current build");
978978
return Ptr<Importer>();
979979
}
980980

981-
Blob readTorchBlob(const String &filename, bool isBinary)
981+
Mat readTorchBlob(const String&, bool)
982982
{
983983
CV_Error(Error::StsNotImplemented, "Torch importer is disabled in current build");
984-
return Blob();
984+
return Mat();
985985
}
986986

987987
#endif //defined(ENABLE_TORCH_IMPORTER) && ENABLE_TORCH_IMPORTER

0 commit comments

Comments
 (0)