syncqt: Mark updateOrCopy as exception free
Pick-to: 6.5 6.6 Change-Id: I4ac468ef503775bca7d3848d26b42990bb4fdd1a Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>bb10
parent
9f3e7aaf17
commit
cab5ede6a3
|
|
@ -1660,7 +1660,7 @@ public:
|
|||
return writeIfDifferent(m_commandLineArgs->versionScriptFile(), buffer.str());
|
||||
}
|
||||
|
||||
bool updateOrCopy(const std::filesystem::path &src, const std::filesystem::path &dst);
|
||||
bool updateOrCopy(const std::filesystem::path &src, const std::filesystem::path &dst) noexcept;
|
||||
void updateSymbolDescriptor(const std::string &symbol, const std::string &file,
|
||||
SymbolDescriptor::SourceType type);
|
||||
};
|
||||
|
|
@ -1686,7 +1686,8 @@ SyncScanner::makeHeaderAbsolute(const std::string &filename) const
|
|||
return utils::normilizedPath(filename);
|
||||
}
|
||||
|
||||
bool SyncScanner::updateOrCopy(const std::filesystem::path &src, const std::filesystem::path &dst)
|
||||
bool SyncScanner::updateOrCopy(const std::filesystem::path &src,
|
||||
const std::filesystem::path &dst) noexcept
|
||||
{
|
||||
if (m_commandLineArgs->showOnly())
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue