summaryrefslogtreecommitdiff
path: root/decoder/null_deleter.h
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/null_deleter.h')
-rwxr-xr-xdecoder/null_deleter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/decoder/null_deleter.h b/decoder/null_deleter.h
new file mode 100755
index 00000000..082ab453
--- /dev/null
+++ b/decoder/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