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/DHTTokenTracker.cc | |
| parent | 08f4b5e4f41b343753d440f32ccc213c40f3726b (diff) | |
Use default where possible
Diffstat (limited to 'src/DHTTokenTracker.cc')
| -rw-r--r-- | src/DHTTokenTracker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DHTTokenTracker.cc b/src/DHTTokenTracker.cc index 33a9f836..05afcef5 100644 --- a/src/DHTTokenTracker.cc +++ b/src/DHTTokenTracker.cc @@ -58,7 +58,7 @@ DHTTokenTracker::DHTTokenTracker(const unsigned char* initialSecret) memcpy(secret_[1], initialSecret, SECRET_SIZE); } -DHTTokenTracker::~DHTTokenTracker() {} +DHTTokenTracker::~DHTTokenTracker() = default; std::string DHTTokenTracker::generateToken(const unsigned char* infoHash, const std::string& ipaddr, |
