diff options
Diffstat (limited to 'utils/null_deleter.h')
-rwxr-xr-x | utils/null_deleter.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/null_deleter.h b/utils/null_deleter.h new file mode 100755 index 00000000..082ab453 --- /dev/null +++ b/utils/null_deleter.h @@ -0,0 +1,9 @@ +#ifndef NULL_DELETER_H +#define NULL_DELETER_H + +struct null_deleter { + void operator()(void*) const {} + void operator()(void const*) const {} +}; + +#endif |