Skip to content

Commit

Permalink
Fix a compilation problem. (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy authored Oct 25, 2024
1 parent 94d1201 commit 9265ca4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pruner/src/extended_unused.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ class PruneUnused : public P4::RemoveUnusedDeclarations {

public:
explicit PruneUnused(const P4::ReferenceMap *refMap, std::vector<struct_obj *> *_used_structs)
: P4::RemoveUnusedDeclarations(refMap, true),
unused_refMap(refMap),
used_structs(_used_structs) {
: RemoveUnusedDeclarations({}, true), unused_refMap(refMap), used_structs(_used_structs) {
CHECK_NULL(refMap);
setName("PruneUnused");
}
Expand Down

0 comments on commit 9265ca4

Please sign in to comment.