From fbef72e11c483fae16c32480cf84253a56d0ee25 Mon Sep 17 00:00:00 2001 From: Tomasz Frydrych Date: Sun, 2 Apr 2017 22:24:31 +0200 Subject: 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 --- src/lib/x509/name_constraint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/x509/name_constraint.h') diff --git a/src/lib/x509/name_constraint.h b/src/lib/x509/name_constraint.h index 43d7fcbcb..68551dc32 100644 --- a/src/lib/x509/name_constraint.h +++ b/src/lib/x509/name_constraint.h @@ -37,7 +37,7 @@ class BOTAN_DLL GeneralName : public ASN1_Object /** * Creates an empty GeneralName. */ - GeneralName() : m_type(), m_name() {} + GeneralName() = default; /** * Creates a new GeneralName for its string format. -- cgit v1.2.3