summaryrefslogtreecommitdiff
path: root/src/TorrentAttribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/TorrentAttribute.h')
-rw-r--r--src/TorrentAttribute.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TorrentAttribute.h b/src/TorrentAttribute.h
index 037b04c5..27bd04ba 100644
--- a/src/TorrentAttribute.h
+++ b/src/TorrentAttribute.h
@@ -64,8 +64,8 @@ struct TorrentAttribute : public ContextAttribute {
~TorrentAttribute();
// Don't allow copying
- TorrentAttribute(const TorrentAttribute&);
- TorrentAttribute& operator=(const TorrentAttribute&);
+ TorrentAttribute(const TorrentAttribute&) = delete;
+ TorrentAttribute& operator=(const TorrentAttribute&) = delete;
};
} // namespace aria2