summaryrefslogtreecommitdiff
path: root/methods/copy.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-05-25 09:59:08 +0000
committerJulian Andres Klode <jak@debian.org>2025-05-25 09:59:08 +0000
commitc6f49402c2f8aed20b538263d80ecb6fed179b18 (patch)
tree5bbbc08cd8b412d13c7951276a160896628fb593 /methods/copy.cc
parent5bfea97d7b3c6f4fcaa56c24d6f3591b1862b86b (diff)
parent115b7257d9f29bd17b97b1cda727a67e29021f8c (diff)
Merge branch 'cxx23' into 'main'
Bump CMAKE_CXX_STANDARD to 23 and fix code See merge request apt-team/apt!482
Diffstat (limited to 'methods/copy.cc')
-rw-r--r--methods/copy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/copy.cc b/methods/copy.cc
index e3f2a29a2..91f831e30 100644
--- a/methods/copy.cc
+++ b/methods/copy.cc
@@ -41,7 +41,7 @@ bool CopyMethod::URIAcquire(std::string const &Message, FetchItem *Itm)
struct FileCopyType {
std::string name;
struct stat stat{};
- explicit FileCopyType(std::string &&file) : name{std::move(file)} {}
+ explicit FileCopyType(std::string &&file) noexcept : name{std::move(file)} {}
};
std::vector<FileCopyType> files;
// this ensures that relative paths work