syncqt: Mark updateOrCopy as exception free
Change-Id: I4ac468ef503775bca7d3848d26b42990bb4fdd1a Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit cab5ede6a3890b9cc07e54a0558a577c932ec21a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 28ad12261c43ae795971ee76df7081daf441ed28)
This commit is contained in:
parent
ec91e121a7
commit
65030ebef2
@ -1574,7 +1574,7 @@ public:
|
|||||||
return writeIfDifferent(m_commandLineArgs->versionScriptFile(), buffer.str());
|
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,
|
void updateSymbolDescriptor(const std::string &symbol, const std::string &file,
|
||||||
SymbolDescriptor::SourceType type);
|
SymbolDescriptor::SourceType type);
|
||||||
};
|
};
|
||||||
@ -1600,7 +1600,8 @@ SyncScanner::makeHeaderAbsolute(const std::string &filename) const
|
|||||||
return utils::normilizedPath(filename);
|
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())
|
if (m_commandLineArgs->showOnly())
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user