Skip to content

Commit

Permalink
pprint: minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed May 7, 2018
1 parent a2b9576 commit ac4b0b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filter/pprint/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class Impl : public ComponentImpl {
int count = 0;
public:
Impl(int stack_level) : ComponentImpl(stack_level) {};
~Impl() {}; // NB: a destructor implementation must exist
void execute(BhIR *bhir) {
~Impl() override = default;
void execute(BhIR *bhir) override {
stringstream ss;
ss << "trace-" << count << ".txt";
cout << "pprint-filter: writing trace('" << ss.str() << "')." << endl;
Expand Down

0 comments on commit ac4b0b6

Please sign in to comment.