mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Fix gcc 4.1.2 compile warnings
This commit is contained in:
@@ -64,6 +64,7 @@ class GateGraphBaseVisitor {
|
||||
public:
|
||||
virtual AstNUser* visit(GateLogicVertex* vertexp, AstNUser* vup=NULL) =0;
|
||||
virtual AstNUser* visit(GateVarVertex* vertexp, AstNUser* vup=NULL) =0;
|
||||
virtual ~GateGraphBaseVisitor() {}
|
||||
};
|
||||
|
||||
//######################################################################
|
||||
|
||||
@@ -48,6 +48,8 @@ public:
|
||||
struct V3HashedUserCheck {
|
||||
// Functor for V3Hashed::findDuplicate
|
||||
virtual bool check(AstNode*,AstNode*) =0;
|
||||
V3HashedUserCheck() {}
|
||||
virtual ~V3HashedUserCheck() {}
|
||||
};
|
||||
|
||||
class V3Hashed : public VHashedBase {
|
||||
|
||||
Reference in New Issue
Block a user