diff options
| author | Nils Maier <maierman@web.de> | 2016-07-31 02:18:43 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2016-08-29 16:52:20 +0200 |
| commit | 366e2e8f795e82e2c8472bcf1cd0a892550789a9 (patch) | |
| tree | e00f9d25494c412b04234cda11caf79bfc73fcbf /src/File.cc | |
| parent | 08f4b5e4f41b343753d440f32ccc213c40f3726b (diff) | |
Use default where possible
Diffstat (limited to 'src/File.cc')
| -rw-r--r-- | src/File.cc | 4 |
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) { |
