diff options
Diffstat (limited to 'methods/copy.cc')
| -rw-r--r-- | methods/copy.cc | 2 |
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 |
