diff options
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h index 1995e43..03ec68f 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -35,6 +35,13 @@ int launch_app(int argc, char *argv[], app &app); std::string get_hostname(); +template<typename T> +class noop_delete { +public: + void operator()(T *) const { + } +}; + static inline void noop_deleter(void *) { } |