Skip to content

Commit

Permalink
util/DeleteDisposer: add const and noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 4, 2024
1 parent 5235191 commit 32dd970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/DeleteDisposer.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class DeleteDisposer {
public:
template<typename T>
void operator()(T *t) {
void operator()(T *t) const noexcept {
delete t;
}
};

0 comments on commit 32dd970

Please sign in to comment.