Base: fix google-explicit-constructor

This commit is contained in:
wmayer
2023-11-22 19:48:10 +01:00
committed by wwmayer
parent b239797b3e
commit dcd533af4b
16 changed files with 93 additions and 91 deletions

View File

@@ -155,7 +155,7 @@ void Exporter::throwIfNoPermission(const std::string& filename)
Base::FileInfo fi(filename);
Base::FileInfo di(fi.dirPath());
if ((fi.exists() && !fi.isWritable()) || !di.exists() || !di.isWritable()) {
throw Base::FileException("No write permission for file", filename);
throw Base::FileException("No write permission for file", fi);
}
}