Internals: Use C++11 = default where obvious. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-11-16 19:56:16 -05:00
parent 70b3a599ce
commit 1b0a48ea02
118 changed files with 381 additions and 373 deletions
+3 -3
View File
@@ -67,7 +67,7 @@ private:
: m_errp{errp}
, m_dtypep{dtypep}
, m_fromRange{fromRange} {}
~FromData() {}
~FromData() = default;
};
FromData fromDataForArray(AstNode* nodep, AstNode* basefromp) {
// What is the data type and information for this SEL-ish's from()?
@@ -579,9 +579,9 @@ private:
public:
// CONSTRUCTORS
WidthSelVisitor() {}
WidthSelVisitor() = default;
virtual ~WidthSelVisitor() override = default;
AstNode* mainAcceptEdit(AstNode* nodep) { return iterateSubtreeReturnEdits(nodep); }
virtual ~WidthSelVisitor() override {}
};
//######################################################################