diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-12 18:13:53 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-12 22:39:55 +0200 |
commit | 0a935931b529ea2aafcb0415c13a4b8cd0ef6487 (patch) | |
tree | 8320750955e54991b44aee58ec60fe929c39f620 /sources/shiboken6/generator/shiboken/cppgenerator.cpp | |
parent | 8ae7438a8e14d937a68199d8944fc684081be4c6 (diff) |
shiboken6: Remove function verifyDirectoryFor()
The function does not return an error. Since class FileOut
also creates the directory and throws on failure, it is not needed.
Pick-to: 6.1
Change-Id: I5ad78e9789cb194df262342fb3aed6bd00dfb455
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/generator/shiboken/cppgenerator.cpp')
-rw-r--r-- | sources/shiboken6/generator/shiboken/cppgenerator.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sources/shiboken6/generator/shiboken/cppgenerator.cpp b/sources/shiboken6/generator/shiboken/cppgenerator.cpp index bdb3c23c9..11d05c6da 100644 --- a/sources/shiboken6/generator/shiboken/cppgenerator.cpp +++ b/sources/shiboken6/generator/shiboken/cppgenerator.cpp @@ -6083,8 +6083,6 @@ bool CppGenerator::finishGeneration() QString moduleFileName(outputDirectory() + QLatin1Char('/') + subDirectoryForPackage(packageName())); moduleFileName += QLatin1Char('/') + moduleName().toLower() + QLatin1String("_module_wrapper.cpp"); - - verifyDirectoryFor(moduleFileName); FileOut file(moduleFileName); TextStream &s = file.stream; |