util/DeleteDisposer: add `const` and `noexcept`
This commit is contained in:
parent
523519182a
commit
32dd9704ce
|
@ -10,7 +10,7 @@
|
|||
class DeleteDisposer {
|
||||
public:
|
||||
template<typename T>
|
||||
void operator()(T *t) {
|
||||
void operator()(T *t) const noexcept {
|
||||
delete t;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue