mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: C++11 style cleanups. No functional change.
This commit is contained in:
+2
-2
@@ -488,11 +488,11 @@ public:
|
||||
// V3Hasher methods
|
||||
|
||||
V3Hash V3Hasher::operator()(AstNode* nodep) const {
|
||||
if (!nodep->user4()) { HasherVisitor visitor(nodep); }
|
||||
if (!nodep->user4()) { HasherVisitor visitor{nodep}; }
|
||||
return V3Hash(nodep->user4());
|
||||
}
|
||||
|
||||
V3Hash V3Hasher::uncachedHash(const AstNode* nodep) {
|
||||
HasherVisitor visitor(nodep);
|
||||
HasherVisitor visitor{nodep};
|
||||
return visitor.finalHash();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user