summaryrefslogtreecommitdiff
path: root/src/ProtocolDetector.cc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2016-07-31 02:18:43 +0200
committerNils Maier <maierman@web.de>2016-08-29 16:52:20 +0200
commit366e2e8f795e82e2c8472bcf1cd0a892550789a9 (patch)
treee00f9d25494c412b04234cda11caf79bfc73fcbf /src/ProtocolDetector.cc
parent08f4b5e4f41b343753d440f32ccc213c40f3726b (diff)
Use default where possible
Diffstat (limited to 'src/ProtocolDetector.cc')
-rw-r--r--src/ProtocolDetector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ProtocolDetector.cc b/src/ProtocolDetector.cc
index 7f36bac3..81078f84 100644
--- a/src/ProtocolDetector.cc
+++ b/src/ProtocolDetector.cc
@@ -49,9 +49,9 @@
namespace aria2 {
-ProtocolDetector::ProtocolDetector() {}
+ProtocolDetector::ProtocolDetector() = default;
-ProtocolDetector::~ProtocolDetector() {}
+ProtocolDetector::~ProtocolDetector() = default;
bool ProtocolDetector::isStreamProtocol(const std::string& uri) const
{