mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Internals: Use C++11 = default where obvious. No functional change intended.
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user