mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
make use of C++ = default constructor declarations as well as more non-static member initialization syntax.
This commit is contained in:
@@ -46,7 +46,7 @@ using TypePointer = std::shared_ptr<Type const>;
|
||||
|
||||
struct ASTAnnotation
|
||||
{
|
||||
virtual ~ASTAnnotation() {}
|
||||
virtual ~ASTAnnotation() = default;
|
||||
};
|
||||
|
||||
struct DocTag
|
||||
@@ -57,7 +57,7 @@ struct DocTag
|
||||
|
||||
struct DocumentedAnnotation
|
||||
{
|
||||
virtual ~DocumentedAnnotation() {}
|
||||
virtual ~DocumentedAnnotation() = default;
|
||||
/// Mapping docstring tag name -> content.
|
||||
std::multimap<std::string, DocTag> docTags;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user