aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/dl_algo
diff options
context:
space:
mode:
authorTomasz Frydrych <[email protected]>2017-04-02 22:24:31 +0200
committerTomasz Frydrych <[email protected]>2017-04-03 23:42:29 +0200
commitfbef72e11c483fae16c32480cf84253a56d0ee25 (patch)
tree200b0fe290e9809ef6c8883e886b7c9a48c902a1 /src/lib/pubkey/dl_algo
parent753b4c2d5301574d3c9390b79aa275a49809e6c8 (diff)
Content:
* fixes for deprecated constructions in c++11 and later (explicit rule of 3/5 or implicit rule of 0 and other violations) * `default` specifier instead of `{}` in some places(probably all) * removal of unreachable code (for example `return` after `throw`) * removal of compilation unit only visible, but not used functions * fix for `throw()` specifier - used instead `BOTAN_NOEXCEPT` * removed not needed semicolons
Diffstat (limited to 'src/lib/pubkey/dl_algo')
-rw-r--r--src/lib/pubkey/dl_algo/dl_algo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/dl_algo/dl_algo.h b/src/lib/pubkey/dl_algo/dl_algo.h
index 4c0d56931..94bf24387 100644
--- a/src/lib/pubkey/dl_algo/dl_algo.h
+++ b/src/lib/pubkey/dl_algo/dl_algo.h
@@ -76,7 +76,7 @@ class BOTAN_DLL DL_Scheme_PublicKey : public virtual Public_Key
DL_Scheme_PublicKey& operator=(const DL_Scheme_PublicKey& other) = default;
protected:
- DL_Scheme_PublicKey() {}
+ DL_Scheme_PublicKey() = default;
/**
* The DL public key
@@ -119,7 +119,7 @@ class BOTAN_DLL DL_Scheme_PrivateKey : public virtual DL_Scheme_PublicKey,
DL_Scheme_PrivateKey& operator=(const DL_Scheme_PrivateKey& other) = default;
protected:
- DL_Scheme_PrivateKey() {}
+ DL_Scheme_PrivateKey() = default;
/**
* The DL private key