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
+2 -2
View File
@@ -77,7 +77,7 @@ class V3FileDependImp {
m_stat.st_ctime = 0;
m_stat.st_mtime = 0;
}
~DependFile() {}
~DependFile() = default;
const string& filename() const { return m_filename; }
bool target() const { return m_target; }
bool exists() const { return m_exists; }
@@ -971,7 +971,7 @@ public:
passthru("vlTOPp");
passthru("vlSymsp");
}
~VIdProtectImp() {}
~VIdProtectImp() = default;
// METHODS
string passthru(const string& old) {
if (!v3Global.opt.protectIds()) return old;