Skip to content

Commit

Permalink
fixed -Winconsistent-missing-destructor-override Clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Sep 11, 2023
1 parent fa2b32e commit 7599d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplecpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class FileStream : public simplecpp::TokenList::Stream {
init();
}

~FileStream() {
~FileStream() OVERRIDE {
fclose(file);
file = nullptr;
}
Expand Down

0 comments on commit 7599d48

Please sign in to comment.