diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-09-05 15:16:25 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-09-12 16:33:34 +0200 |
commit | cab5ede6a3890b9cc07e54a0558a577c932ec21a (patch) | |
tree | 9bb4052cfeb96317ea5c8e00f9fe7cdc533aa951 /src/tools | |
parent | 9f3e7aaf17ba69a7cff81a584054978e6c283165 (diff) |
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>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/syncqt/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/syncqt/main.cpp b/src/tools/syncqt/main.cpp index d4c96cf8b3..0f45661eab 100644 --- a/src/tools/syncqt/main.cpp +++ b/src/tools/syncqt/main.cpp @@ -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; |