summaryrefslogtreecommitdiff
path: root/src/File.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/File.cc')
-rw-r--r--src/File.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/File.cc b/src/File.cc
index 758ce501..3ee6c47a 100644
--- a/src/File.cc
+++ b/src/File.cc
@@ -56,9 +56,9 @@ namespace aria2 {
File::File(const std::string& name) : name_(name) {}
-File::File(const File& c) : name_(c.name_) {}
+File::File(const File& c) = default;
-File::~File() {}
+File::~File() = default;
File& File::operator=(const File& c)
{